aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/scan_name.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-10 23:03:35 +0000
committerlloyd <[email protected]>2008-11-10 23:03:35 +0000
commitf947cfbd1523f2bd1930fccbd4a5586f633661ed (patch)
tree966e71638c8d40a63e0a11c4b2fc921810db2111 /src/utils/scan_name.cpp
parentc975e9017032bcbce0d5beffd7fc89fa1b3210a0 (diff)
Shorten SCAN_Name's argument arg in function names
Diffstat (limited to 'src/utils/scan_name.cpp')
-rw-r--r--src/utils/scan_name.cpp4
1 files changed, 2 insertions, 2 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;