]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/value.h
Annotate deprecated identifiers as such
[libs/datafile.git] / source / value.h
index e2b9fb1c569782fcbc96dc9d687d9b48eb83388d..b7da1d7f3ff3668b0737f45440a19910076cda29 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"
@@ -34,7 +35,7 @@ private:
        T get_() const;
 };
 
-typedef std::vector<Value> ValueArray __attribute__((deprecated));
+typedef DEPRECATED std::vector<Value> ValueArray;
 
 template<typename T>
 inline T Value::get_() const