From 10b90ecd2692c41bb828d6dc923464d879acbd1d Mon Sep 17 00:00:00 2001 From: jostephd Date: Sat, 12 Oct 2019 22:41:35 +0000 Subject: [PATCH] Fix typo in example code --- .github/CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index c2515433443..f947065c4be 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -83,7 +83,7 @@ public: // Use lambdas for short functions like this. // We also encourage the use of auto in lambdas and other places where // type names are long and can be inferred. - std::sort(ref.being(), ref.end(), [](const auto& a, const auto& b) { + std::sort(ref.begin(), ref.end(), [](const auto& a, const auto& b) { return a.member && !b.member; }); }