Skip to content

Commit d4da0db

Browse files
dssgabrielcedricchevalier19
authored andcommitted
fix: properly define reduction op structs in macro
Signed-off-by: Gabriel Dos Santos <[email protected]>
1 parent 77b037c commit d4da0db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/KokkosComm/reduction_op.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace {
2121

2222
// clang-format off
2323
#define DECL_REDUCTION_OP_FOR(operator) \
24-
struct operator; \
24+
struct operator {}; \
2525
template <> struct Impl::is_reduction_operator<operator> : public std::true_type {}
2626
// clang-format on
2727

0 commit comments

Comments
 (0)