summaryrefslogtreecommitdiff
path: root/src/wx/timeline.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/timeline.cc')
-rw-r--r--src/wx/timeline.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/timeline.cc b/src/wx/timeline.cc
index 9af8c3b85..4683769d4 100644
--- a/src/wx/timeline.cc
+++ b/src/wx/timeline.cc
@@ -35,10 +35,10 @@
#include "lib/film.h"
#include "lib/image_content.h"
#include "lib/playlist.h"
-#include "lib/scope_guard.h"
#include "lib/text_content.h"
#include "lib/timer.h"
#include "lib/video_content.h"
+#include <dcp/scope_guard.h>
#include <dcp/warnings.h>
LIBDCP_DISABLE_WARNINGS
#include <wx/graphics.h>
@@ -161,7 +161,7 @@ Timeline::paint_labels ()
return;
}
- ScopeGuard sg = [gc]() { delete gc; };
+ dcp::ScopeGuard sg = [gc]() { delete gc; };
int vsx, vsy;
_labels_canvas->GetViewStart (&vsx, &vsy);
@@ -189,7 +189,7 @@ Timeline::paint_main ()
return;
}
- ScopeGuard sg = [gc]() { delete gc; };
+ dcp::ScopeGuard sg = [gc]() { delete gc; };
gc->SetAntialiasMode (wxANTIALIAS_DEFAULT);