mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-11 12:00:01 +00:00
Fix typo in example code
This commit is contained in:
parent
a0ccc2dff4
commit
10b90ecd26
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…
x
Reference in New Issue
Block a user