Browse Source

fix: use TextStreamBase::to_str() instead of to_string()

master
Tomasz Sowa 3 months ago
parent
commit
3d2a635e34
  1. 6
      winixd/templates/locale.h

6
winixd/templates/locale.h

@ -265,7 +265,7 @@ template<typename char_type, size_t stack_size, size_t heap_block_size>
bool Locale::IsKey(const pt::TextStreamBase<char_type, stack_size, heap_block_size> & key,
bool try_default_too)
{
key.to_string(key_str);
key.to_str(key_str);
return IsKey(key_str, try_default_too);
}
@ -274,7 +274,7 @@ template<typename char_type, size_t stack_size, size_t heap_block_size>
bool Locale::IsKey(const pt::TextStreamBase<char_type, stack_size, heap_block_size> & key,
size_t lang_id, bool try_default_too)
{
key.to_string(key_str);
key.to_str(key_str);
return IsKey(key_str, lang_id, try_default_too);
}
@ -284,7 +284,7 @@ template<typename char_type, size_t stack_size, size_t heap_block_size>
const std::wstring & Locale::Get(const pt::TextStreamBase<char_type, stack_size, heap_block_size> & key,
bool try_default_too)
{
key.to_string(key_str);
key.to_str(key_str);
return Get(key_str, try_default_too);
}

Loading…
Cancel
Save