diff options
Diffstat (limited to 'src/instrument.h')
-rw-r--r-- | src/instrument.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/instrument.h b/src/instrument.h index 621dddb..ee67b3f 100644 --- a/src/instrument.h +++ b/src/instrument.h @@ -28,6 +28,7 @@ #include <string> #include <vector> +#include <memory> #include "rangemap.h" #include "powerlist.h" @@ -83,4 +84,4 @@ private: }; // typedef std::map< std::string, Instrument > Instruments; -typedef std::vector<Instrument*> Instruments; +using Instruments = std::vector<std::unique_ptr<Instrument>>; |