Skip to content

Commit 8728cbe

Browse files
committed
Fix the error: << operator not overloaded with string_view in reduce.cpp
1 parent 8020d61 commit 8728cbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

example/reduce.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ int main(int argc, char* argv[]) {
105105
transform_reduce();
106106
}
107107
else {
108-
std::cerr << "invalid method " << method << std::endl;
108+
std::cerr << "invalid method " << method.data() << std::endl;
109109
std::exit(EXIT_FAILURE);
110110
}
111111

0 commit comments

Comments
 (0)