summaryrefslogtreecommitdiff
path: root/src/name_format.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-05-06 00:50:37 +0200
committerCarl Hetherington <cth@carlh.net>2020-05-06 00:50:37 +0200
commit0d71b001187ec79dbdbddde4ebaabbdff8e2b9bd (patch)
treee1259c8e3d32a5a87f75582ccd543c8299c71429 /src/name_format.h
parent5acc1161e26bdb98e47be591878252cf900d6fa9 (diff)
Allow ignoring of specifications in NameFormat.
Diffstat (limited to 'src/name_format.h')
-rw-r--r--src/name_format.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/name_format.h b/src/name_format.h
index e5cfb76d..e6fc9d72 100644
--- a/src/name_format.h
+++ b/src/name_format.h
@@ -60,7 +60,7 @@ public:
typedef std::map<char, std::string> Map;
- std::string get (Map, std::string suffix) const;
+ std::string get (Map, std::string suffix, std::string ignore = "") const;
private:
std::string _specification;