summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-10-04 19:47:32 +0200
committerCarl Hetherington <cth@carlh.net>2023-11-29 21:19:56 +0100
commitaed4a3b4b42923f2f9e273eea4705b43b75e8e08 (patch)
treee830a84a505ee1e7f0784c9fe62edf04929fc91d /src
parentf640d51bc3526f31af8a926e3149ffec060c9275 (diff)
Don't pollute the global namespace with a namespace called fs.
Diffstat (limited to 'src')
-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_)