aboutsummaryrefslogtreecommitdiff
path: root/brep
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-20 05:10:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-20 05:10:19 +0200
commit2f6fcc01e35dd60ab900924ed7b043f3ccf873d2 (patch)
treef25745e1a07747830b4614f5fae984986d3a0870 /brep
parent6f4a0ebb21cad18db234ecbe9eebc0a8a440b69f (diff)
Fix Clang errors
Diffstat (limited to 'brep')
-rw-r--r--brep/module.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/brep/module.cxx b/brep/module.cxx
index 9e7eda3..283731e 100644
--- a/brep/module.cxx
+++ b/brep/module.cxx
@@ -26,8 +26,6 @@ using namespace placeholders; // For std::bind's _1, etc.
namespace brep
{
- using namespace cli;
-
// module
//
bool module::
@@ -148,6 +146,8 @@ namespace brep
name_values module::
expand_options (const name_values& v)
{
+ using namespace cli;
+
vector<const char*> argv;
for (const auto& nv: v)
{
@@ -209,7 +209,7 @@ namespace brep
static option_descriptions od (convert (options::module::description ()));
name_values mo (filter (opts, od));
name_value_scanner s (mo);
- options::module o (s, unknown_mode::fail, unknown_mode::fail);
+ options::module o (s, cli::unknown_mode::fail, cli::unknown_mode::fail);
verb_ = o.verbosity ();
loaded_ = true;
@@ -359,7 +359,7 @@ namespace brep
if (i_ != name_values_.end ())
return name_ ? i_->name.c_str () : i_->value->c_str ();
else
- throw eos_reached ();
+ throw cli::eos_reached ();
}
const char* module::name_value_scanner::
@@ -372,7 +372,7 @@ namespace brep
return r;
}
else
- throw eos_reached ();
+ throw cli::eos_reached ();
}
void module::name_value_scanner::
@@ -394,6 +394,6 @@ namespace brep
}
}
else
- throw eos_reached ();
+ throw cli::eos_reached ();
}
}