Skip to content

Commit

Permalink
fix mac build
Browse files Browse the repository at this point in the history
  • Loading branch information
nautaa committed Jun 28, 2024
1 parent cdbac7c commit dc1add6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/observer/sql/expr/aggregate_state.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details. */

template <class T>
struct SumState
class SumState
{
public:
SumState() : value(0) {}
T value;
void update(const T *values, int size);
};

0 comments on commit dc1add6

Please sign in to comment.