| 92 | int8_t constexpr kDefaultLangCode = 0; |
| 93 | |
| 94 | inline std::string GetDefaultStr(LocalizableString const & str) |
| 95 | { |
| 96 | return (str.empty() || str.find(kDefaultLangCode) == str.end()) ? "" : str.at(kDefaultLangCode); |
| 97 | } |
| 98 | |
| 99 | inline void SetDefaultStr(LocalizableString & localizableStr, std::string const & str) |
| 100 | { |