[gnote] Replace std::string by Glib::ustring



commit d65336fc3560ebf73d376786591ec1d457d902f9
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun Jan 22 22:50:09 2017 +0200

    Replace std::string by Glib::ustring

 src/sharp/string.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/sharp/string.cpp b/src/sharp/string.cpp
index a5cb5e3..82fb5bb 100644
--- a/src/sharp/string.cpp
+++ b/src/sharp/string.cpp
@@ -132,7 +132,7 @@ namespace sharp {
     if(source.size() <= (unsigned int)start) {
       return "";
     }
-    return Glib::ustring(source, start, std::string::npos);
+    return Glib::ustring(source, start, Glib::ustring::npos);
   }
 
   Glib::ustring string_substring(const Glib::ustring & source, int start, int len)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]