diff options
author | David Robillard <d@drobilla.net> | 2020-08-02 15:09:52 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-02 15:09:52 +0200 |
commit | ec0b87a18623c17c16f6a648fcf277abe14142b7 (patch) | |
tree | d3c49b98d43b24046daecb7cd29510134491358f /src/gui/GraphCanvas.cpp | |
parent | df897ef5b01a045769ffb71ebc6dead179db857c (diff) | |
download | ingen-ec0b87a18623c17c16f6a648fcf277abe14142b7.tar.gz ingen-ec0b87a18623c17c16f6a648fcf277abe14142b7.tar.bz2 ingen-ec0b87a18623c17c16f6a648fcf277abe14142b7.zip |
Remove redundant pointer get() calls
Diffstat (limited to 'src/gui/GraphCanvas.cpp')
-rw-r--r-- | src/gui/GraphCanvas.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/GraphCanvas.cpp b/src/gui/GraphCanvas.cpp index 30c67326..688e034b 100644 --- a/src/gui/GraphCanvas.cpp +++ b/src/gui/GraphCanvas.cpp @@ -222,8 +222,8 @@ GraphCanvas::build_menus() } // Add known plugins to menu heirarchy - SPtr<const ClientStore::Plugins> plugins = _app.store()->plugins(); - for (const auto& p : *plugins.get()) { + auto plugins = _app.store()->plugins(); + for (const auto& p : *plugins) { add_plugin(p.second); } @@ -726,7 +726,7 @@ GraphCanvas::paste() _app.interface()->bundle_begin(); // Put each top level object in the clipboard store - ClashAvoider avoider(*_app.store().get()); + ClashAvoider avoider(*_app.store()); for (const auto& c : clipboard) { if (c.first.is_root() || c.first.parent() != Raul::Path("/")) { continue; |