[Bf-blender-cvs] [1d9f369824a] master: Cleanup: Unused function

Sergey Sharybin noreply at git.blender.org
Fri Apr 7 12:55:18 CEST 2017


Commit: 1d9f369824a3176e3ba74042787ee16a4daf1957
Author: Sergey Sharybin
Date:   Fri Apr 7 12:55:04 2017 +0200
Branches: master
https://developer.blender.org/rB1d9f369824a3176e3ba74042787ee16a4daf1957

Cleanup: Unused function

===================================================================

M	intern/locale/msgfmt.cc

===================================================================

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"));




More information about the Bf-blender-cvs mailing list