diff options
author | Spencer Jackson <spencer.jackson@mongodb.com> | 2019-10-24 17:50:45 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-10-24 17:50:45 +0000 |
commit | 2b6f5ce734f834ca73d0fbe9da162c0ab43a5345 (patch) | |
tree | bd9a366a43ee5de76797fd16f9b474613ecbed52 /src/mongo/platform | |
parent | 4003ef1b40e4404fc42d8a13db7e3a12946e0832 (diff) | |
download | mongo-2b6f5ce734f834ca73d0fbe9da162c0ab43a5345.tar.gz |
SERVER-44059 Make _makeCoefficientLow in decimal128.h static
Diffstat (limited to 'src/mongo/platform')
-rw-r--r-- | src/mongo/platform/decimal128.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/platform/decimal128.h b/src/mongo/platform/decimal128.h index 6ad7b21bb3e..983380f0cd0 100644 --- a/src/mongo/platform/decimal128.h +++ b/src/mongo/platform/decimal128.h @@ -578,7 +578,7 @@ private: // The absolute value of constexpr `i` as a uint64_t, avoiding warnings. template <typename T> - constexpr std::uint64_t _makeCoefficientLow(T i) { + static constexpr std::uint64_t _makeCoefficientLow(T i) { if constexpr (std::is_signed_v<T>) { if (i < 0) { std::make_unsigned_t<T> ui = i; |