xlgames-inc / XLE

XLE -- the "hackable" 3D game rendering engine
MIT License
336 stars 73 forks source link

Minor compilation error (fix) #8

Closed jmkinzer closed 8 years ago

jmkinzer commented 8 years ago

Have latest update VS2015... complains here: Error C3406 'typename': cannot be used in an elaborated type specifier Utility C:\XLE\Utility\Streams\Stream.cpp 237

This: template<typename OutChar, typename InChar, typename typename std::enable_if<!CompatibleCharTypes<OutChar, InChar>::compatible>::type* = nullptr>

Should be: template<typename OutChar, typename InChar, typename std::enable_if<!CompatibleCharTypes<OutChar, InChar>::compatible>::type* = nullptr>

djewsbury commented 8 years ago

I've implemented the fix as suggested. I'm using an older version of VS2015 -- but I'll update soon to check for any remaining errors.