diff options
author | Richard Walters <rwalters@digitalstirling.com> | 2018-08-05 15:23:56 -0700 |
---|---|---|
committer | Richard Walters <rwalters@digitalstirling.com> | 2018-08-05 15:23:56 -0700 |
commit | 54881d9f90acfb1676b3eebb0feb17811d1cc4bf (patch) | |
tree | 4bbadb21100a85dc7d95e4fd844e3e3839645860 /src/NormalizeCaseInsensitiveString.cpp | |
parent | a09abace8d4ec0d2fc9bb65493dfae7b7ce8e0fe (diff) |
Use SystemAbstractions::ToLower instead of doing it ourselves
Diffstat (limited to 'src/NormalizeCaseInsensitiveString.cpp')
-rw-r--r-- | src/NormalizeCaseInsensitiveString.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/NormalizeCaseInsensitiveString.cpp b/src/NormalizeCaseInsensitiveString.cpp deleted file mode 100644 index 761c72a..0000000 --- a/src/NormalizeCaseInsensitiveString.cpp +++ /dev/null @@ -1,24 +0,0 @@ -/** - * @file NormalizeCaseInsensitiveString.cpp - * - * This module contains the implementation of the - * Uri::NormalizeCaseInsensitiveString function. - * - * © 2018 by Richard Walters - */ - -#include "NormalizeCaseInsensitiveString.hpp" - -#include <ctype.h> - -namespace Uri { - - std::string NormalizeCaseInsensitiveString(const std::string& inString) { - std::string outString; - for (char c: inString) { - outString.push_back(tolower(c)); - } - return outString; - } - -} |