mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
Core: Fixed CoIsRangeEqual to compile with CLANG
git-svn-id: svn://ultimatepp.org/upp/trunk@10498 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
3ae376b477
commit
1fedd2cea8
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ int CoIsEqualRange(const Range1& r1, const Range2& r2)
|
|||
int count = r1.GetCount();
|
||||
if(r1.GetCount() != r2.GetCount())
|
||||
return false;
|
||||
std::atomic<bool> equal = true;
|
||||
std::atomic<bool> equal(true);
|
||||
CoPartition(0, r1.GetCount(),
|
||||
[=, &equal, &r1, &r2](int i, int e) {
|
||||
while(i < e && equal) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue