From 484d02da141b6b040a343a2ab5a45c3d09de73d1 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 19 Sep 2023 12:35:47 +0800 Subject: [PATCH] cql3: expr: do not use multi-line comment do not use muti-line comment. this silences the warning from GCC: ``` In file included from ./cql3/prepare_context.hh:19, from ./cql3/statements/raw/parsed_statement.hh:14, from build/debug/gen/cql3/CqlParser.hpp:62, from build/debug/gen/cql3/CqlParser.cpp:44: ./cql3/expr/expression.hh:490:1: error: multi-line comment [-Werror=comment] 490 | /// Custom formatter for an expression. Supports multiple modes:\ | ^ ``` Signed-off-by: Kefu Chai Closes scylladb/scylladb#15471 --- cql3/expr/expression.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cql3/expr/expression.hh b/cql3/expr/expression.hh index 28ed04fe47..5a1702022b 100644 --- a/cql3/expr/expression.hh +++ b/cql3/expr/expression.hh @@ -487,7 +487,7 @@ data_type type_of(const expression& e); } // namespace cql3 -/// Custom formatter for an expression. Supports multiple modes:\ +/// Custom formatter for an expression. Supports multiple modes: /// {:user} for user-oriented output, suitable for error messages (default) /// {:debug} for debug-oriented output /// {:result_set_metadata} for stable output suitable for result set metadata (column headings)