summaryrefslogtreecommitdiff
path: root/src/utils/tolower.hpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2013-12-08 18:02:24 +0100
committerFlorent Le Coz <louiz@louiz.org>2013-12-08 18:02:24 +0100
commitcb718def0cb51aac4c2125e3864522740fcb2573 (patch)
tree424128100fe9faf76f9e8621485e04fd5294c3d7 /src/utils/tolower.hpp
parentfb01f78b0ac840387613bf671e980cead27f8fc0 (diff)
downloadbiboumi-cb718def0cb51aac4c2125e3864522740fcb2573.tar.gz
biboumi-cb718def0cb51aac4c2125e3864522740fcb2573.tar.bz2
biboumi-cb718def0cb51aac4c2125e3864522740fcb2573.tar.xz
biboumi-cb718def0cb51aac4c2125e3864522740fcb2573.zip
Put utils::tolower definition in its own cpp file
Diffstat (limited to 'src/utils/tolower.hpp')
-rw-r--r--src/utils/tolower.hpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/utils/tolower.hpp b/src/utils/tolower.hpp
index 22d2b8f..0019182 100644
--- a/src/utils/tolower.hpp
+++ b/src/utils/tolower.hpp
@@ -5,14 +5,7 @@
namespace utils
{
- std::string tolower(const std::string& original)
- {
- std::string res;
- res.reserve(original.size());
- for (const char c: original)
- res += static_cast<char>(std::tolower(c));
- return res;
- }
+ std::string tolower(const std::string& original);
}
#endif // SPLIT_INCLUDED