Skip to content

Commit a6c2c3d

Browse files
committed
fix: remove unnecessary static qualifier
1 parent b5531f2 commit a6c2c3d

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

src/iceberg/util/decimal.cc

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,15 @@ namespace iceberg {
4444

4545
namespace {
4646

47-
static constexpr int32_t kMinDecimalBytes = 1;
48-
static constexpr int32_t kMaxDecimalBytes = 16;
47+
constexpr int32_t kMinDecimalBytes = 1;
48+
constexpr int32_t kMaxDecimalBytes = 16;
4949

5050
// The maximum decimal value that can be represented with kMaxPrecision digits.
5151
// 10^38 - 1
52-
static constexpr Decimal kMaxDecimalValue(5421010862427522170LL, 687399551400673279ULL);
53-
// The mininum (most negative) decimal value that can be represented with kMaxPrecision
54-
// digits.
52+
constexpr Decimal kMaxDecimalValue(5421010862427522170LL, 687399551400673279ULL);
53+
// The mininum decimal value that can be represented with kMaxPrecision digits.
5554
// - (10^38 - 1)
56-
static constexpr Decimal kMinDecimalValue(-5421010862427522171LL,
57-
17759344522308878337ULL);
55+
constexpr Decimal kMinDecimalValue(-5421010862427522171LL, 17759344522308878337ULL);
5856

5957
struct DecimalComponents {
6058
std::string_view while_digits;

0 commit comments

Comments
 (0)