[gnote] Use std::weak_ptr with namespace



commit 61dd7cbd7e144f753e7bc36d53b6064c6430a9a7
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun Apr 7 23:50:45 2019 +0300

    Use std::weak_ptr with namespace

 src/note.hpp     | 2 +-
 src/notebase.hpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/note.hpp b/src/note.hpp
index 15b62a0a..20058bfa 100644
--- a/src/note.hpp
+++ b/src/note.hpp
@@ -91,7 +91,7 @@ class Note
 {
 public:
   typedef std::shared_ptr<Note> Ptr;
-  typedef weak_ptr<Note> WeakPtr;
+  typedef std::weak_ptr<Note> WeakPtr;
   typedef std::list<Ptr> List;
 
   ~Note();
diff --git a/src/notebase.hpp b/src/notebase.hpp
index 38a5f5e4..1f89a891 100644
--- a/src/notebase.hpp
+++ b/src/notebase.hpp
@@ -189,7 +189,7 @@ class NoteBase
 {
 public:
   typedef std::shared_ptr<NoteBase> Ptr;
-  typedef weak_ptr<NoteBase> WeakPtr;
+  typedef std::weak_ptr<NoteBase> WeakPtr;
   typedef std::list<Ptr> List;
 
   static Glib::ustring url_from_path(const Glib::ustring &);


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