mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 13:23:59 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -21,10 +21,8 @@ string GetTextSourceString(platform::TextSource textSource)
|
||||
{
|
||||
switch (textSource)
|
||||
{
|
||||
case platform::TextSource::TtsSound:
|
||||
return string("sound-strings");
|
||||
case platform::TextSource::Countries:
|
||||
return string("countries-strings");
|
||||
case platform::TextSource::TtsSound: return string("sound-strings");
|
||||
case platform::TextSource::Countries: return string("countries-strings");
|
||||
}
|
||||
ASSERT(false, ());
|
||||
return string();
|
||||
@@ -77,8 +75,7 @@ TGetTextByIdPtr ForTestingGetTextByIdFactory(string const & jsonBuffer, string c
|
||||
return GetTextById::Create(jsonBuffer, localeName);
|
||||
}
|
||||
|
||||
GetTextById::GetTextById(string const & jsonBuffer, string const & localeName)
|
||||
: m_locale(localeName)
|
||||
GetTextById::GetTextById(string const & jsonBuffer, string const & localeName) : m_locale(localeName)
|
||||
{
|
||||
if (jsonBuffer.empty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user