summaryrefslogtreecommitdiffstats
path: root/src/Patchage.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-12-29 19:31:32 -0500
committerDavid Robillard <d@drobilla.net>2019-12-29 19:31:52 -0500
commit668265fb608430bf968044404ba70f45a0d56033 (patch)
tree7a9a4abd3593e2ad8e1c4b14f37093c5301a86e3 /src/Patchage.cpp
parent4e6084ef4d00f26a21e4cb9512a910083926a005 (diff)
downloadpatchage-668265fb608430bf968044404ba70f45a0d56033.tar.gz
patchage-668265fb608430bf968044404ba70f45a0d56033.tar.bz2
patchage-668265fb608430bf968044404ba70f45a0d56033.zip
Use std::shared_ptr
Diffstat (limited to 'src/Patchage.cpp')
-rw-r--r--src/Patchage.cpp2
1 files changed, 1 insertions, 1 deletions
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")) {