Skip to content

Commit

Permalink
Fix MacOS cpu count cast
Browse files Browse the repository at this point in the history
  • Loading branch information
lczech committed Jun 29, 2024
1 parent 9010b10 commit d7ce748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/genesis/utils/core/info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ int get_physical_core_count_( size_t n_cpu )
}
return cores.size();
#else
void(n_cpu);
(void) n_cpu;
return 0;
#endif
}
Expand Down

0 comments on commit d7ce748

Please sign in to comment.