Fix typo in example code
This commit is contained in:
parent
a0ccc2dff4
commit
10b90ecd26
1 changed files with 1 additions and 1 deletions
2
.github/CONTRIBUTING.md
vendored
2
.github/CONTRIBUTING.md
vendored
|
@ -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;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue