diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-10-04 19:47:32 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-01-28 02:01:57 +0100 |
| commit | a5bf3a7639904a5eda4b8c94384575550280b4d2 (patch) | |
| tree | b20226b4f1aa54234fe572d43600ff78e2001b1e /src/lib/grok | |
| parent | d76a96b6c92f708162eaa542f316fe6247410967 (diff) | |
Don't pollute the global namespace with a namespace called fs.
Diffstat (limited to 'src/lib/grok')
| -rw-r--r-- | src/lib/grok/context.h | 3 |
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_) |
