diff options
author | Roger Leigh <rleigh@debian.org> | 2009-03-28 13:22:08 +0000 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2009-03-28 13:22:08 +0000 |
commit | 04c19bb6c28295a387e60066c48db7f443e5b925 (patch) | |
tree | 35be95bd155fd2fd82b24dc35dd149b48c48ee1c /bin/schroot-base | |
parent | 991360778a0be53da8db5911d3bd0753337e4ca2 (diff) | |
download | schroot-04c19bb6c28295a387e60066c48db7f443e5b925.tar.gz |
[sbuild-log] Rename DebugLevel to debug_level
Also rename sbuild::debug_level to sbuild::debug_log_level to avoid
a name clash. DebugLevel was the last remaining CamelCase typedef
from the original GObject-based C implementation.
Diffstat (limited to 'bin/schroot-base')
-rw-r--r-- | bin/schroot-base/schroot-base-options.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/schroot-base/schroot-base-options.cc b/bin/schroot-base/schroot-base-options.cc index e4621870..d32a0d7e 100644 --- a/bin/schroot-base/schroot-base-options.cc +++ b/bin/schroot-base/schroot-base-options.cc @@ -145,20 +145,20 @@ options::check_options () if (vm.count("debug")) { if (this->debug_level == "none") - sbuild::debug_level = sbuild::DEBUG_NONE; + sbuild::debug_log_level = sbuild::DEBUG_NONE; else if (this->debug_level == "notice") - sbuild::debug_level = sbuild::DEBUG_NOTICE; + sbuild::debug_log_level = sbuild::DEBUG_NOTICE; else if (this->debug_level == "info") - sbuild::debug_level = sbuild::DEBUG_INFO; + sbuild::debug_log_level = sbuild::DEBUG_INFO; else if (this->debug_level == "warning") - sbuild::debug_level = sbuild::DEBUG_WARNING; + sbuild::debug_log_level = sbuild::DEBUG_WARNING; else if (this->debug_level == "critical") - sbuild::debug_level = sbuild::DEBUG_CRITICAL; + sbuild::debug_log_level = sbuild::DEBUG_CRITICAL; else throw opt::validation_error(_("Invalid debug level")); } else - sbuild::debug_level = sbuild::DEBUG_NONE; + sbuild::debug_log_level = sbuild::DEBUG_NONE; } void |