diff options
author | VladiMihaylenko <vxmihaylenko@gmail.com> | 2018-02-05 17:10:46 +0300 |
---|---|---|
committer | Arsentiy Milchakov <milcars@mapswithme.com> | 2018-02-06 14:44:49 +0300 |
commit | 2be0781941a5b9be7e0209bcbe72a2e623cad546 (patch) | |
tree | fded72bbb2930a132589476cdbbcf4290aecfabc /defines.hpp | |
parent | b378c80fe3062fba83330158a3498c9105a6ac76 (diff) |
Using the same constant for an incorrect rating in all places.
Diffstat (limited to 'defines.hpp')
-rw-r--r-- | defines.hpp | 4 |
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; |