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



commit 90d7a8a43abe4ea98796ed5a029d2c340ec00778
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Fri Jan 27 22:50:58 2017 +0200

    Replace std::string by Glib::ustring in uuid

 src/sharp/uuid.hpp |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/sharp/uuid.hpp b/src/sharp/uuid.hpp
index 0b1bc00..9d63e06 100644
--- a/src/sharp/uuid.hpp
+++ b/src/sharp/uuid.hpp
@@ -1,6 +1,7 @@
 /*
  * gnote
  *
+ * Copyright (C) 2017 Aurimas Cernius
  * Copyright (C) 2009 Hubert Figuiere
  * 
  * Permission is hereby granted, free of charge, to any person obtaining a
@@ -29,7 +30,8 @@
 #define __SHARP_UUID_HPP_
 
 #include <uuid.h>
-#include <string>
+
+#include <glibmm/ustring.h>
 
 namespace sharp {
 
@@ -41,7 +43,7 @@ namespace sharp {
         uuid_generate(m_uuid);
       }
 
-    std::string string()
+    Glib::ustring string()
       {
         char out[40];
         uuid_unparse_lower(m_uuid, out);


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