Commit 1f03c9d0 authored by Marco Amagliani's avatar Marco Amagliani
Browse files

OS X build error fix. Added typename to resolve a dependant type.

parent 99d54aae
......@@ -236,7 +236,7 @@ template <> struct CastT<8> { typedef uint64_t Type; };
template <typename T> //!< 32 or 64 bit type
inline FormatT<> format_hex(const T _vrbl)
return format_hex(FormatHex::CastT<sizeof(T)>::Type(_vrbl));
return format_hex(typename FormatHex::CastT<sizeof(T)>::Type(_vrbl));
template <>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment