]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/value.h
Add facility for classes to specify what type they should be loaded as
[libs/datafile.git] / source / value.h
index 78ec54a89b512599305316c9ff6ad0b35cb67b3e..e2b9fb1c569782fcbc96dc9d687d9b48eb83388d 100644 (file)
@@ -25,7 +25,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; }