diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-06-21 01:14:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-06-21 01:14:06 +0100 |
| commit | 5a5324ed3a381a86dfe0a6e3932c1d58fdcd596f (patch) | |
| tree | 769dca1358e35017ce5a5b3ab2dfafe2b24d61ed /src/lib/video_content.cc | |
| parent | 4e83acad0c2a5c528709a175a80261b8147d3b49 (diff) | |
Use make_shared<>.
Diffstat (limited to 'src/lib/video_content.cc')
| -rw-r--r-- | src/lib/video_content.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc index a59e9669d..ae6cb64dd 100644 --- 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)); } |
