1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-31 05:52:59 +00:00

Merge branch 'fix-build-linux'

This commit is contained in:
iacore
2024-10-03 20:23:01 +00:00
6 changed files with 33 additions and 22 deletions

View File

@@ -337,7 +337,7 @@ void build_disttable_approx() {
for(int k=0; k<threads; k++)
v.emplace_back([&,k] () {
auto& dt = results[k];
vector<int> tab(N, N);
vector<int> tab(N, N);
auto p = k ? nullptr : new progressbar(N/threads, "build_disttable_approx");
for(int i=k; i<N; i+=threads) {
if(p) (*p)++;