Skip to content

Commit 043ce0e

Browse files
committed
fix compile on win.
1 parent 991b852 commit 043ce0e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

cpp/test/reader/query_by_row_performance_test.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
#include "file/write_file.h"
6161
#include "reader/tsfile_reader.h"
6262
#include "reader/tsfile_tree_reader.h"
63+
#include "utils/util_define.h"
6364
#include "writer/tsfile_table_writer.h"
6465
#include "writer/tsfile_tree_writer.h"
6566

@@ -86,8 +87,8 @@ static int query_by_row_perf_iters() {
8687
return n;
8788
}
8889

89-
[[maybe_unused]] static int compute_offset_with_env(int num_rows,
90-
int default_offset) {
90+
MAYBE_UNUSED static int compute_offset_with_env(int num_rows,
91+
int default_offset) {
9192
int offset = default_offset;
9293
int abs = 0;
9394
if (get_env_int("QUERY_BY_ROW_PERF_OFFSET", abs)) {

0 commit comments

Comments
 (0)