diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-01-08 16:25:42 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-01-09 11:54:16 +0100 |
| commit | 12d1abf033654727d6ab6278087ff7cfc65d63f6 (patch) | |
| tree | b920b3c3614fc91a1cb2a220972042e6318a6fd4 /src/lib/dcp_content.cc | |
| parent | ad41d2dd987ffcd2068d9fbf4273108c9f796762 (diff) | |
Move ScopeGuard into libdcp.
Diffstat (limited to 'src/lib/dcp_content.cc')
| -rw-r--r-- | src/lib/dcp_content.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc index b9b64149f..f3751b1d8 100644 --- a/src/lib/dcp_content.cc +++ b/src/lib/dcp_content.cc @@ -31,7 +31,6 @@ #include "job.h" #include "log.h" #include "overlaps.h" -#include "scope_guard.h" #include "text_content.h" #include "video_content.h" #include <dcp/dcp.h> @@ -41,6 +40,7 @@ #include <dcp/reel_picture_asset.h> #include <dcp/reel_subtitle_asset.h> #include <dcp/reel.h> +#include <dcp/scope_guard.h> #include <libxml++/libxml++.h> #include <iterator> #include <iostream> @@ -224,7 +224,7 @@ DCPContent::examine (shared_ptr<const Film> film, shared_ptr<Job> job) string const old_name = name (); ContentChangeSignalDespatcher::instance()->suspend(); - ScopeGuard sg = []() { + dcp::ScopeGuard sg = []() { ContentChangeSignalDespatcher::instance()->resume(); }; |
