diff options
author | David Robillard <d@drobilla.net> | 2020-08-01 16:34:02 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-02 01:48:48 +0200 |
commit | 8a7cc98bd39e95fbdab7bbb8e3e6e4aa351c219b (patch) | |
tree | 8bd1158a4b0ae665e395b14832e3e504e7cf2f7d /src/client/PortModel.cpp | |
parent | 6436ce26daefba37c7a612591a33b18365db69b7 (diff) | |
download | ingen-8a7cc98bd39e95fbdab7bbb8e3e6e4aa351c219b.tar.gz ingen-8a7cc98bd39e95fbdab7bbb8e3e6e4aa351c219b.tar.bz2 ingen-8a7cc98bd39e95fbdab7bbb8e3e6e4aa351c219b.zip |
Remove wrappers for standard memory functions
Diffstat (limited to 'src/client/PortModel.cpp')
-rw-r--r-- | src/client/PortModel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/PortModel.cpp b/src/client/PortModel.cpp index fa1a7abe..b3562f77 100644 --- a/src/client/PortModel.cpp +++ b/src/client/PortModel.cpp @@ -18,6 +18,7 @@ #include "ingen/client/PortModel.hpp" #include <cstdint> +#include <memory> #include <utility> namespace ingen { @@ -69,7 +70,7 @@ PortModel::set(const SPtr<ObjectModel>& model) { ObjectModel::set(model); - SPtr<PortModel> port = dynamic_ptr_cast<PortModel>(model); + SPtr<PortModel> port = std::dynamic_pointer_cast<PortModel>(model); if (port) { _index = port->_index; _direction = port->_direction; |