diff options
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/scan_name.cpp | 4 | ||||
-rw-r--r-- | src/utils/scan_name.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/utils/scan_name.cpp b/src/utils/scan_name.cpp index f0df99bde..7855f3ec3 100644 --- a/src/utils/scan_name.cpp +++ b/src/utils/scan_name.cpp @@ -71,14 +71,14 @@ bool SCAN_Name::provider_allowed(const std::string& provider) const return (providers.find(provider) != providers.end()); } -std::string SCAN_Name::argument(u32bit i) const +std::string SCAN_Name::arg(u32bit i) const { if(i > arg_count()) throw std::range_error("SCAN_Name::argument"); return name[i+1]; } -u32bit SCAN_Name::argument_as_u32bit(u32bit i, u32bit def_value) const +u32bit SCAN_Name::arg_as_u32bit(u32bit i, u32bit def_value) const { if(i >= arg_count()) return def_value; diff --git a/src/utils/scan_name.h b/src/utils/scan_name.h index a463c6adc..15fa09f48 100644 --- a/src/utils/scan_name.h +++ b/src/utils/scan_name.h @@ -53,13 +53,13 @@ class SCAN_Name @param i which argument @return the ith argument */ - std::string argument(u32bit i) const; + std::string arg(u32bit i) const; /** @param i which argument @return the ith argument as a u32bit, or a default value */ - u32bit argument_as_u32bit(u32bit i, u32bit def_value) const; + u32bit arg_as_u32bit(u32bit i, u32bit def_value) const; std::string as_string() const { return orig_algo_spec; } std::string providers_string() const { return orig_providers; } |