diff options
author | Salvage <29021710+Saalvage@users.noreply.github.com> | 2022-05-05 18:47:29 +0300 |
---|---|---|
committer | Salvage <29021710+Saalvage@users.noreply.github.com> | 2022-05-05 18:47:29 +0300 |
commit | ae8295c1d04e4eb158d3607f00ccb5397842ce89 (patch) | |
tree | 43291c248eb8f2b304b077d88790ddf372059b09 /examples | |
parent | adf21cc8e505899ba985b1a82de99f749667f6a6 (diff) |
Make operator== static
Diffstat (limited to 'examples')
-rw-r--r-- | examples/all_features/assertion_macros.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/all_features/assertion_macros.cpp b/examples/all_features/assertion_macros.cpp index 32e89da1..c10321c7 100644 --- a/examples/all_features/assertion_macros.cpp +++ b/examples/all_features/assertion_macros.cpp @@ -4,7 +4,7 @@ namespace A { }; } -bool operator==(const A::Bar& lhs, const A::Bar& rhs) { +static bool operator==(const A::Bar& lhs, const A::Bar& rhs) { return lhs.i == rhs.i; } |