commit | 1c0bee700a3bc3af01faa2dad8cfe47cab6c3a71 | [log] [tgz] |
---|---|---|
author | Salvage <29021710+Saalvage@users.noreply.github.com> | Sat Oct 08 03:10:16 2022 +0200 |
committer | Salvage <29021710+Saalvage@users.noreply.github.com> | Sat Oct 08 03:10:16 2022 +0200 |
tree | dd500fc73aa0c8b47f6bcb64090cfc84278a75b3 | |
parent | cd312dd547f1af0283546cf5df45a806e42dac48 [diff] |
Make operator<< static
diff --git a/examples/all_features/stringification.cpp b/examples/all_features/stringification.cpp index 1a100cb..d36d372 100644 --- a/examples/all_features/stringification.cpp +++ b/examples/all_features/stringification.cpp
@@ -267,7 +267,7 @@ enum class Foo { }; -std::ostream& operator<<(std::ostream& os, Foo) { +static std::ostream& operator<<(std::ostream& os, Foo) { return os << "Foo"; }