diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2015-08-03 10:06:23 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:58:50 +0300 |
commit | f27f90467786fe83b5f951becd77fd8b761e6a9f (patch) | |
tree | 260cebdf87ea099a0e1162cc092030db4d7d64e4 /platform | |
parent | bcc5f548840045607053ca5504a78d725596ce92 (diff) |
DistToTextId was rewritten as a template functions.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/get_text_by_id.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/get_text_by_id.hpp b/platform/get_text_by_id.hpp index 45c8fdb5e5..7d1c5cac50 100644 --- a/platform/get_text_by_id.hpp +++ b/platform/get_text_by_id.hpp @@ -20,7 +20,7 @@ class GetTextById public: GetTextById(TextSource textSouce, string const & localeName); /// The constructor is used for writing unit tests only. - GetTextById(string const & jsonBuffer); + explicit GetTextById(string const & jsonBuffer); bool IsValid() const { return !m_localeTexts.empty(); } /// @return a pair of a text string in a specified locale for textId and a boolean flag. |