[gnote] Use std::enable_shared_from_this with namespace



commit 56a4f012cbba52dc13be21aa04e170bc55f3d323
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun Apr 7 23:55:56 2019 +0300

    Use std::enable_shared_from_this with namespace

 src/notebase.hpp               | 2 +-
 src/notebooks/notebook.hpp     | 2 +-
 src/synchronization/syncui.hpp | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/notebase.hpp b/src/notebase.hpp
index 1f89a891..9c10eb69 100644
--- a/src/notebase.hpp
+++ b/src/notebase.hpp
@@ -184,7 +184,7 @@ private:
 
 
 class NoteBase
-  : public enable_shared_from_this<NoteBase>
+  : public std::enable_shared_from_this<NoteBase>
   , public sigc::trackable
 {
 public:
diff --git a/src/notebooks/notebook.hpp b/src/notebooks/notebook.hpp
index a08215c0..4ed2d06c 100644
--- a/src/notebooks/notebook.hpp
+++ b/src/notebooks/notebook.hpp
@@ -34,7 +34,7 @@ namespace notebooks {
 /// An object that represents a notebook in Tomboy
 /// </summary>
 class Notebook 
-  : public enable_shared_from_this<Notebook>
+  : public std::enable_shared_from_this<Notebook>
 {
 public:
   typedef std::shared_ptr<Notebook> Ptr;
diff --git a/src/synchronization/syncui.hpp b/src/synchronization/syncui.hpp
index 5dc95b4c..89569362 100644
--- a/src/synchronization/syncui.hpp
+++ b/src/synchronization/syncui.hpp
@@ -33,7 +33,7 @@ namespace gnote {
 namespace sync {
 
   class SyncUI
-    : public enable_shared_from_this<SyncUI>
+    : public std::enable_shared_from_this<SyncUI>
   {
   public:
     typedef std::shared_ptr<SyncUI> Ptr;


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