From: Carl Hetherington Date: Wed, 4 Oct 2023 17:47:32 +0000 (+0200) Subject: Don't pollute the global namespace with a namespace called fs. X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=54c143ad171fabb20ce8a0d82ae6c147ee233484;p=dcpomatic.git Don't pollute the global namespace with a namespace called fs. --- 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 -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_)