diff --git a/ugc/types.cpp b/ugc/types.cpp index 104cd66a2b..157e6ad530 100644 --- a/ugc/types.cpp +++ b/ugc/types.cpp @@ -2,7 +2,7 @@ namespace ugc { -float const UGC::kMaxRating; -float const UGC::kMinRating; -float const UGC::kRatingDetalizationThreshold; +float constexpr UGC::kMaxRating; +float constexpr UGC::kMinRating; +float constexpr UGC::kRatingDetalizationThreshold; } // namespace ugc