remove unused ostringstream constructions
This commit is contained in:
parent
8f203adf66
commit
6ccf6cebd1
@ -238,8 +238,6 @@ static const table_key &lookup_keychar(wchar_t Char)
|
||||
return table_key;
|
||||
}
|
||||
|
||||
std::ostringstream os;
|
||||
os << "<Char " << hex_encode((char*) &Char, sizeof(wchar_t)) << ">";
|
||||
auto newsym = wide_to_utf8(std::wstring_view(&Char, 1));
|
||||
table_key new_key {newsym, irr::KEY_KEY_CODES_COUNT, Char, newsym};
|
||||
return table.emplace_back(std::move(new_key));
|
||||
@ -271,8 +269,6 @@ static const table_key &lookup_keykey(irr::EKEY_CODE key)
|
||||
return table_key;
|
||||
}
|
||||
|
||||
std::ostringstream os;
|
||||
os << "<Keycode " << (int) key << ">";
|
||||
return invalid_key;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user