summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-10-04 19:47:32 +0200
committerCarl Hetherington <cth@carlh.net>2023-10-18 13:46:50 +0200
commit7dd4fb0e9c8024c4ccd67e2aa5cda8eaccc52477 (patch)
tree4514b8de60fe272e073fb01ca7180ebf2d14a97c /src/lib
parentec1758d615a0f6ca837e960e1d2c0492a546523d (diff)
Don't pollute the global namespace with a namespace called fs.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/grok/context.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/grok/context.h b/src/lib/grok/context.h
index e7b5dbcbc..85ed385bd 100644
--- a/src/lib/grok/context.h
+++ b/src/lib/grok/context.h
@@ -21,7 +21,6 @@
#pragma once
#include <boost/filesystem.hpp>
-namespace fs = boost::filesystem;
#include "../config.h"
#include "../dcp_video.h"
@@ -170,6 +169,8 @@ public:
shutdown();
}
bool launch(DCPVideo dcpv, int device){
+ namespace fs = boost::filesystem;
+
if (!messenger_ )
return false;
if (launched_)