X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcinema.cc;h=ce3077b2a041df9ab21e6600a59f4f770f78f164;hb=2a01820de9229fd778787421ec4f7bbf1e4b8bf1;hp=62023618676a6f83de20bfde5f6be6acd651e1b7;hpb=8c7a308c03e4b4196b4e2379a26d432b100ae2b1;p=dcpomatic.git diff --git a/src/lib/cinema.cc b/src/lib/cinema.cc index 620236186..ce3077b2a 100644 --- a/src/lib/cinema.cc +++ b/src/lib/cinema.cc @@ -17,9 +17,9 @@ */ -#include -#include #include "cinema.h" +#include +#include using std::list; using boost::shared_ptr; @@ -68,8 +68,8 @@ Cinema::remove_screen (shared_ptr s) } Screen::Screen (cxml::ConstNodePtr node) + : name (node->string_child ("Name")) { - name = node->string_child ("Name"); if (node->optional_string_child ("Certificate")) { certificate = dcp::Certificate (node->string_child ("Certificate")); }