projects
/
blender.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9706bfd
)
Cleanup: Unused function
author
Sergey Sharybin <sergey.vfx@gmail.com>
Fri, 7 Apr 2017 10:55:04 +0000
(12:55 +0200)
committer
Sergey Sharybin <sergey.vfx@gmail.com>
Fri, 7 Apr 2017 10:55:04 +0000
(12:55 +0200)
intern/locale/msgfmt.cc
patch
|
blob
|
history
diff --git
a/intern/locale/msgfmt.cc
b/intern/locale/msgfmt.cc
index 6ee1ee14781a3c1fa1dd1d8edf9d827b6bd52f1f..02c58ebc5bc8a25a340d9bb067d0159388759025 100644
(file)
--- 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"));