]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/value.h
Remove some long-deprecated things
[libs/datafile.git] / source / value.h
index 78ec54a89b512599305316c9ff6ad0b35cb67b3e..c272bcf81dc57b34e9e87f66112a997691aec282 100644 (file)
@@ -2,6 +2,7 @@
 #define MSP_DATAFILE_VALUE_H_
 
 #include <vector>
+#include <msp/core/attributes.h>
 #include <msp/core/meta.h>
 #include <msp/core/variant.h>
 #include "type.h"
@@ -25,7 +26,7 @@ public:
        Value(Symbol d): sig(TypeInfo<Symbol>::signature), data(d) { }
 
        template<typename T>
-       typename RemoveReference<T>::Type get() const
+       typename TypeInfo<T>::Load get() const
        { return get_<typename TypeInfo<T>::Store>(); }
 
        char get_signature() const { return sig; }
@@ -34,8 +35,6 @@ private:
        T get_() const;
 };
 
-typedef std::vector<Value> ValueArray __attribute__((deprecated));
-
 template<typename T>
 inline T Value::get_() const
 {