diff options
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h index 2feb73b7..8f11f75a 100644 --- a/src/utils.h +++ b/src/utils.h @@ -290,6 +290,12 @@ inline string to_string(std::size_t num) { return buf.str(); } +inline string lowered(const string& str) { + string tmp(str); + to_lower(tmp); + return tmp; +} + inline string operator+(const char * left, const string& right) { return string(left) + right; } |