diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-04-07 13:55:04 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-04-07 13:55:04 +0300 |
commit | 1d9f369824a3176e3ba74042787ee16a4daf1957 (patch) | |
tree | a237fa38b0691179d6e87c8ca015fdb5d0600b40 /intern/locale | |
parent | 9706bfd25d7befc4f2c036d207fd88359fd15621 (diff) |
Cleanup: Unused function
Diffstat (limited to 'intern/locale')
-rw-r--r-- | intern/locale/msgfmt.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/intern/locale/msgfmt.cc b/intern/locale/msgfmt.cc index 6ee1ee14781..02c58ebc5bc 100644 --- a/intern/locale/msgfmt.cc +++ b/intern/locale/msgfmt.cc @@ -42,18 +42,6 @@ bool starts_with(const std::string &str, } } -std::string ltrim(const std::string &str) { - std::string result = str; - result.erase(0, result.find_first_not_of(" \t\r\n")); - return result; -} - -std::string rtrim(const std::string &str) { - std::string result = str; - result.erase(result.find_last_not_of(" \t\r\n") + 1); - return result; -} - std::string trim(const std::string &str) { std::string result = str; result.erase(0, result.find_first_not_of(" \t\r\n")); |