libi2ncommon: (reinhard) disabled old to_lower/to_upper funcs and imported new ones...
authorReinhard Pfau <reinhard.pfau@intra2net.com>
Mon, 7 Apr 2008 14:33:34 +0000 (14:33 +0000)
committerReinhard Pfau <reinhard.pfau@intra2net.com>
Mon, 7 Apr 2008 14:33:34 +0000 (14:33 +0000)
src/stringfunc.cpp
src/stringfunc.hxx

index 98fe5e1..7753d96 100644 (file)
@@ -865,6 +865,7 @@ bool replace_all(string &base, const string &ist, const string &soll)
    return found_ist;
 }
 
+#if 0
 string to_lower(const string &src)
 {
    string dst = src;
@@ -886,6 +887,7 @@ string to_upper(const string &src)
 
    return dst;
 }
+#endif
 
 string nice_unit_format(int input)
 {
index dffa81d..b211a17 100644 (file)
@@ -181,9 +181,14 @@ std::string to_string(const T& v)
 } // eo namespace I2n
 
 
-
+#if 0
 std::string to_lower(const std::string &src);
 std::string to_upper(const std::string &src);
+#else
+// compatibility: import lower/upper funcs from I2n:
+using I2n::to_lower;
+using I2n::to_upper;
+#endif
 
 std::string nice_unit_format(int input);