fix(decimal): decimal test ci build

This commit is contained in:
wangjiaming0909 2025-03-10 16:45:37 +08:00
parent ee77643db7
commit 1be7501e2c
1 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ class Numeric64 {
Numeric64& operator=(const Numeric64& r);
Numeric64& operator=(const Numeric128& r);
static SDecimalOps* getOps() { return getDecimalOps(TSDB_DATA_TYPE_DECIMAL64); }
static const SDecimalOps* getOps() { return getDecimalOps(TSDB_DATA_TYPE_DECIMAL64); }
};
class Numeric128 {
@ -110,7 +110,7 @@ class Numeric128 {
return *this;
}
static SDecimalOps* getOps() { return getDecimalOps(TSDB_DATA_TYPE_DECIMAL); }
static const SDecimalOps* getOps() { return getDecimalOps(TSDB_DATA_TYPE_DECIMAL); }
};
Numeric64& Numeric64::operator=(const Numeric64& r) {