aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aberth/aberth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/aberth/aberth.cpp b/aberth/aberth.cpp
index 02768e2..30f40f6 100644
--- a/aberth/aberth.cpp
+++ b/aberth/aberth.cpp
@@ -283,7 +283,7 @@ static tuple<int, int, vector<int>> computeCounts() {
nextDerbyshire(poly);
}
- lock_guard guard(countsMutex);
+ lock_guard<mutex> guard(countsMutex);
for (int i = 0; i < W * H; i++) counts[i] += localCounts[i];
});
}