summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Driver.hpp1
-rw-r--r--src/JackDbusDriver.hpp1
-rw-r--r--src/Patchage.cpp2
-rw-r--r--src/Patchage.hpp7
-rw-r--r--src/PatchagePort.hpp2
5 files changed, 4 insertions, 9 deletions
diff --git a/src/Driver.hpp b/src/Driver.hpp
index 3837382..5c175a1 100644
--- a/src/Driver.hpp
+++ b/src/Driver.hpp
@@ -17,7 +17,6 @@
#ifndef PATCHAGE_DRIVER_HPP
#define PATCHAGE_DRIVER_HPP
-#include <boost/shared_ptr.hpp>
#include <sigc++/sigc++.h>
#include "PatchageEvent.hpp"
diff --git a/src/JackDbusDriver.hpp b/src/JackDbusDriver.hpp
index 69cc0a5..d6c39dd 100644
--- a/src/JackDbusDriver.hpp
+++ b/src/JackDbusDriver.hpp
@@ -18,7 +18,6 @@
#define PATCHAGE_JACKDBUSDRIVER_HPP
#include <string>
-#include <boost/shared_ptr.hpp>
#include <jack/jack.h>
#include <jack/statistics.h>
#include <glibmm/thread.h>
diff --git a/src/Patchage.cpp b/src/Patchage.cpp
index eae2ef9..7875bb9 100644
--- a/src/Patchage.cpp
+++ b/src/Patchage.cpp
@@ -171,7 +171,7 @@ Patchage::Patchage(int argc, char** argv)
#endif
{
_conf = new Configuration();
- _canvas = boost::shared_ptr<PatchageCanvas>(new PatchageCanvas(this, 1600*2, 1200*2));
+ _canvas = std::make_shared<PatchageCanvas>(this, 1600*2, 1200*2);
while (argc > 0) {
if (!strcmp(*argv, "-h") || !strcmp(*argv, "--help")) {
diff --git a/src/Patchage.hpp b/src/Patchage.hpp
index cf550f0..74826a0 100644
--- a/src/Patchage.hpp
+++ b/src/Patchage.hpp
@@ -19,8 +19,7 @@
#include <set>
#include <string>
-
-#include <boost/shared_ptr.hpp>
+#include <memory>
#include <gtkmm/aboutdialog.h>
#include <gtkmm/alignment.h>
@@ -59,7 +58,7 @@ public:
Patchage(int argc, char** argv);
~Patchage();
- const boost::shared_ptr<PatchageCanvas>& canvas() const { return _canvas; }
+ const std::shared_ptr<PatchageCanvas>& canvas() const { return _canvas; }
Gtk::Window* window() { return _main_win.get(); }
@@ -146,7 +145,7 @@ protected:
void save_session(bool close);
#endif
- boost::shared_ptr<PatchageCanvas> _canvas;
+ std::shared_ptr<PatchageCanvas> _canvas;
JackDriver* _jack_driver;
Configuration* _conf;
diff --git a/src/PatchagePort.hpp b/src/PatchagePort.hpp
index d5d6cb3..f4921c8 100644
--- a/src/PatchagePort.hpp
+++ b/src/PatchagePort.hpp
@@ -19,8 +19,6 @@
#include <string>
-#include <boost/shared_ptr.hpp>
-
#include <gtkmm/menu.h>
#include <gtkmm/menushell.h>