From f66561b23a12601c152edb2a2c99ceef9b6bd895 Mon Sep 17 00:00:00 2001 From: bofdahof <172177156+bofdahof@users.noreply.github.com> Date: Sat, 8 Mar 2025 13:14:35 +1000 Subject: [PATCH] remove using namespace boost --- src/App/Application.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App/Application.cpp b/src/App/Application.cpp index edae6a5961..3412f7dbc4 100644 --- a/src/App/Application.cpp +++ b/src/App/Application.cpp @@ -173,7 +173,7 @@ FC_LOG_LEVEL_INIT("App", true, true) using namespace App; //using namespace Base; using namespace std; -using namespace boost; +//using namespace boost; using namespace boost::program_options; using Base::FileInfo; namespace sp = std::placeholders; @@ -2373,8 +2373,8 @@ void parseProgramOptions(int ac, char ** av, const string& exe, variables_map& v stringstream ss; ss << ifs.rdbuf(); // Split the file content - char_separator sep(" \n\r"); - tokenizer > tok(ss.str(), sep); + boost::char_separator sep(" \n\r"); + boost::tokenizer > tok(ss.str(), sep); vector args2; copy(tok.begin(), tok.end(), back_inserter(args2)); // Parse the file and store the options