]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/TocModel.h
Replace support/shared_ptr.h and boost::shared_ptr with std::shared_ptr
[features.git] / src / frontends / qt4 / TocModel.h
index f0f9efa3196fda249010177afe62c320529d0d70..7b22ce6230f007f5ed5dfd61708dbc435354d314 100644 (file)
@@ -14,8 +14,6 @@
 
 #include "Toc.h"
 
-#include "support/shared_ptr.h"
-
 #include <QHash>
 #include <QSortFilterProxyModel>
 
@@ -41,7 +39,7 @@ public:
        ///
        TocModel(QObject * parent);
        ///
-       void reset(shared_ptr<Toc const>);
+       void reset(std::shared_ptr<Toc const>);
        ///
        void reset();
        ///
@@ -73,7 +71,7 @@ private:
        ///
        bool is_sorted_;
        ///
-       shared_ptr<Toc const> toc_;
+       std::shared_ptr<Toc const> toc_;
        ///
        int maxdepth_;
        ///