Skip to content

Commit 5ff4c23

Browse files
Updated typedef fixes #6
1 parent ea038f4 commit 5ff4c23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/Runtime/Impl/TypeInfo.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace ursine
2626

2727
ID = id;
2828

29-
typedef std::decay<T> Decayed;
29+
typedef typename std::decay<T>::type Decayed;
3030

3131
data.isClass = std::is_class< Decayed >::value;
3232
data.isEnum = std::is_enum< Decayed >::value;
@@ -111,4 +111,4 @@ namespace ursine
111111
}
112112
}
113113

114-
#pragma warning(pop)
114+
#pragma warning(pop)

0 commit comments

Comments
 (0)