Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2015-10-14 10:37:33 +0300
committerVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2015-10-14 14:11:43 +0300
commit12fd9dc7a1fd9d3fddf0cf88db0ffe0bf28e89d5 (patch)
tree57f1c7298b893d5fb9bd3886618a633b5c3efd66 /platform/get_text_by_id.hpp
parent8bdc8b39e52c1716c5451d888ae0f95fcdd36f71 (diff)
Corrections after colleages comments. Second part.
Diffstat (limited to 'platform/get_text_by_id.hpp')
-rw-r--r--platform/get_text_by_id.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/get_text_by_id.hpp b/platform/get_text_by_id.hpp
index d002149d1a..9a6fd38467 100644
--- a/platform/get_text_by_id.hpp
+++ b/platform/get_text_by_id.hpp
@@ -15,7 +15,7 @@ enum class TextSource
};
class GetTextById;
-typedef unique_ptr<GetTextById> TGetTextByIdPtr;
+using TGetTextByIdPtr = unique_ptr<GetTextById>;
/// GetTextById represents text messages which are saved in textsDir
/// in a specified locale.
@@ -45,7 +45,7 @@ private:
/// Factories to create GetTextById instances.
/// If TGetTextByIdPtr is created by GetTextByIdFactory or ForTestingGetTextByIdFactory
-/// threre are only two possibities:
+/// there are only two possibities:
/// * a factory returns a valid instance
/// * a factory returns nullptr
TGetTextByIdPtr GetTextByIdFactory(TextSource textSource, string const & localeName);