Use make_shared<>.
[dcpomatic.git] / src / lib / audio_content.cc
index 7a4ca63a90f7703214e8403b3e1907a80d1a0916..57f878b71b1bd53c224256d203b6da21ae9529cc 100644 (file)
@@ -75,6 +75,7 @@ AudioContent::from_xml (Content* parent, cxml::ConstNodePtr node, int version)
                return shared_ptr<AudioContent> ();
        }
 
+       /* Can't use make_shared here as the constructor is private */
        return shared_ptr<AudioContent> (new AudioContent (parent, node));
 }