summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-10-04 19:47:32 +0200
committerCarl Hetherington <cth@carlh.net>2023-12-16 02:07:38 +0100
commit54c143ad171fabb20ce8a0d82ae6c147ee233484 (patch)
tree52509793f8fb64e84c9e8eb5356abc4b89a96d71
parent038110f816179fedb1760f51f476b1e0f620e49b (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_)