diff options
author | Maxim Pimenov <m@maps.me> | 2019-04-15 17:47:05 +0300 |
---|---|---|
committer | Arsentiy Milchakov <milcars@mapswithme.com> | 2019-04-15 21:01:06 +0300 |
commit | 1d0428d056aa2e6b0024f991991f5c513cff9f73 (patch) | |
tree | cff44256529314ec8fcc9ea22fab87520a76e33a /editor | |
parent | 25087ac0bf7e8c41e0d0684e43b5285a8b8be47c (diff) |
Several explicit constructors per the Cppcheck report.
Diffstat (limited to 'editor')
-rw-r--r-- | editor/new_feature_categories.hpp | 2 | ||||
-rw-r--r-- | editor/osm_editor.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/editor/new_feature_categories.hpp b/editor/new_feature_categories.hpp index 132bd1ef33..6151cf0d0a 100644 --- a/editor/new_feature_categories.hpp +++ b/editor/new_feature_categories.hpp @@ -21,7 +21,7 @@ public: using TypeName = std::string; using TypeNames = std::vector<TypeName>; - NewFeatureCategories(editor::EditorConfig const & config); + explicit NewFeatureCategories(editor::EditorConfig const & config); NewFeatureCategories(NewFeatureCategories && other); diff --git a/editor/osm_editor.cpp b/editor/osm_editor.cpp index 78f122f1b3..f188365e15 100644 --- a/editor/osm_editor.cpp +++ b/editor/osm_editor.cpp @@ -84,7 +84,7 @@ array<XmlSection, 4> const kXmlSections = {{{FeatureStatus::Deleted, kDeleteSect struct LogHelper { - LogHelper(MwmSet::MwmId const & mwmId) : m_mwmId(mwmId) {} + explicit LogHelper(MwmSet::MwmId const & mwmId) : m_mwmId(mwmId) {} ~LogHelper() { |