projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use make_shared<>.
[dcpomatic.git]
/
src
/
lib
/
video_content.cc
diff --git
a/src/lib/video_content.cc
b/src/lib/video_content.cc
index a59e9669d62de990b6f4b9359476ee17bededcb4..ae6cb64dd9889820ec060ea61781651267903ed0 100644
(file)
--- a/
src/lib/video_content.cc
+++ b/
src/lib/video_content.cc
@@
-83,6
+83,7
@@
VideoContent::from_xml (Content* parent, cxml::ConstNodePtr node, int version)
return shared_ptr<VideoContent> ();
}
+ /* Can't use make_shared here as the constructor is private */
return shared_ptr<VideoContent> (new VideoContent (parent, node, version));
}