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:
authorMaxim Pimenov <m@maps.me>2019-04-15 17:47:05 +0300
committerArsentiy Milchakov <milcars@mapswithme.com>2019-04-15 21:01:06 +0300
commit1d0428d056aa2e6b0024f991991f5c513cff9f73 (patch)
treecff44256529314ec8fcc9ea22fab87520a76e33a /local_ads
parent25087ac0bf7e8c41e0d0684e43b5285a8b8be47c (diff)
Several explicit constructors per the Cppcheck report.
Diffstat (limited to 'local_ads')
-rw-r--r--local_ads/local_ads_tests/statistics_tests.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/local_ads/local_ads_tests/statistics_tests.cpp b/local_ads/local_ads_tests/statistics_tests.cpp
index a8a92c5147..ab5523fc3e 100644
--- a/local_ads/local_ads_tests/statistics_tests.cpp
+++ b/local_ads/local_ads_tests/statistics_tests.cpp
@@ -9,7 +9,8 @@ namespace
class StatisticsGuard
{
public:
- StatisticsGuard(local_ads::Statistics & statistics) : m_statistics(statistics) {}
+ explicit StatisticsGuard(local_ads::Statistics & statistics) : m_statistics(statistics) {}
+
~StatisticsGuard()
{
m_statistics.CleanupAfterTesting();