aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/scan_name.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-11 03:49:23 +0000
committerlloyd <[email protected]>2008-11-11 03:49:23 +0000
commit54f82a91844808eb1612080427fb64d44c486aad (patch)
tree82de46d4ae586f389120a5257576e8354b1e2d3a /src/utils/scan_name.h
parent6d2db29350761e5573c6f7fafefb2b937993fb80 (diff)
Make SCAN_Name::arg return a new SCAN_Name that has the same providers list,
this allows provider preferences to be passed down to sub-algorithms.
Diffstat (limited to 'src/utils/scan_name.h')
-rw-r--r--src/utils/scan_name.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/utils/scan_name.h b/src/utils/scan_name.h
index 15fa09f48..22b7aa528 100644
--- a/src/utils/scan_name.h
+++ b/src/utils/scan_name.h
@@ -53,7 +53,13 @@ class SCAN_Name
@param i which argument
@return the ith argument
*/
- std::string arg(u32bit i) const;
+ std::string arg_as_string(u32bit i) const;
+
+ /**
+ @param i which argument
+ @return the ith argument
+ */
+ SCAN_Name arg(u32bit i) const;
/**
@param i which argument