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:
authorVladiMihaylenko <vxmihaylenko@gmail.com>2018-02-05 17:10:46 +0300
committerArsentiy Milchakov <milcars@mapswithme.com>2018-02-06 14:44:49 +0300
commit2be0781941a5b9be7e0209bcbe72a2e623cad546 (patch)
treefded72bbb2930a132589476cdbbcf4290aecfabc /defines.hpp
parentb378c80fe3062fba83330158a3498c9105a6ac76 (diff)
Using the same constant for an incorrect rating in all places.
Diffstat (limited to 'defines.hpp')
-rw-r--r--defines.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/defines.hpp b/defines.hpp
index 93b3f55f65..eed20fce9f 100644
--- a/defines.hpp
+++ b/defines.hpp
@@ -1,5 +1,7 @@
#pragma once
+// Only defines and constexprs are allowed in this file.
+
#define DATA_FILE_EXTENSION ".mwm"
#define DATA_FILE_EXTENSION_TMP ".mwm.tmp"
#define DIFF_FILE_EXTENSION ".mwmdiff"
@@ -94,3 +96,5 @@
#define MIXED_TAGS_FILE "mixed_tags.txt"
#define LOCALIZATION_DESCRIPTION_SUFFIX " Description"
+
+auto constexpr kInvalidRatingValue = -1.0f;