]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/Menus.cpp
Replace support/shared_ptr.h and boost::shared_ptr with std::shared_ptr
[features.git] / src / frontends / qt4 / Menus.cpp
index ea32aace5b7af5f28f3e480ff5eba460437534e4..0d80b56f1a493b7bb699376ad768d0fe20fe7f40 100644 (file)
@@ -78,9 +78,8 @@
 #include <QProxyStyle>
 #endif
 
-#include "support/shared_ptr.h"
-
 #include <algorithm>
+#include <memory>
 #include <vector>
 
 using namespace std;
@@ -217,9 +216,6 @@ public:
                func_.setOrigin(origin);
        }
 
-       // shared_ptr<MenuDefinition> needs this apprently...
-       ~MenuItem() {}
-
        /// The label of a given menuitem
        QString label() const
        {