summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-10-04 19:47:32 +0200
committerCarl Hetherington <cth@carlh.net>2023-10-16 17:57:18 +0200
commit4a83cff3e9abfc57e3989f7ef6cc5772988d6c29 (patch)
tree5408c44c7475876dc9791f28100aeb4ed88b3a3e
parent179f018d8e472a5014bb79aafd93d06641577dfa (diff)
Don't pollute the global namespace with a namespace called fs.
-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_)