diff options
author | David Robillard <d@drobilla.net> | 2019-12-29 19:31:32 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-29 19:31:52 -0500 |
commit | 668265fb608430bf968044404ba70f45a0d56033 (patch) | |
tree | 7a9a4abd3593e2ad8e1c4b14f37093c5301a86e3 /src/Patchage.cpp | |
parent | 4e6084ef4d00f26a21e4cb9512a910083926a005 (diff) | |
download | patchage-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.cpp | 2 |
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")) { |