Remove use of 'auto' keyword.

This commit is contained in:
Daniel Buckmaster 2014-04-04 13:16:47 +11:00
parent 54fa2bcdab
commit 2de459cb2e

View file

@ -496,10 +496,10 @@ InputManager* Input::getManager()
//------------------------------------------------------------------------------
void Input::attemptSwitchToKeyboardLayout( U32 layout )
{
const auto lang = MAKELANGID( layout, SUBLANG_DEFAULT );
const LANGID lang = MAKELANGID( layout, SUBLANG_DEFAULT );
std::wstringstream ss;
ss << std::hex << lang;
const auto hexLang = ss.str().c_str();
const wchar_t* hexLang = ss.str().c_str();
ActivateKeyboardLayout( LoadKeyboardLayout(
hexLang, KLF_ACTIVATE | KLF_REPLACELANG
), KLF_REORDER );