Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/onqtam/doctest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalvage <29021710+Saalvage@users.noreply.github.com>2022-05-05 18:47:29 +0300
committerSalvage <29021710+Saalvage@users.noreply.github.com>2022-05-05 18:47:29 +0300
commitae8295c1d04e4eb158d3607f00ccb5397842ce89 (patch)
tree43291c248eb8f2b304b077d88790ddf372059b09 /examples
parentadf21cc8e505899ba985b1a82de99f749667f6a6 (diff)
Make operator== static
Diffstat (limited to 'examples')
-rw-r--r--examples/all_features/assertion_macros.cpp2
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;
}