Skip to content

Commit

Permalink
one more NOMINMAX
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Apr 4, 2019
1 parent 468e1d4 commit df0d1bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io/private/pubgeo/Image.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ namespace pubgeo {
static void filter2(Image<TYPE>* dest, const Image<TYPE_A>* A, const Image<TYPE_B>* B,
SelectionFunction selectFunc, ImFilterFunction filterFunc, int rad = 1) {
std::vector<std::thread> workers;
unsigned int N = std::min(std::thread::hardware_concurrency(), dest->height);
unsigned int N = (std::min)(std::thread::hardware_concurrency(), dest->height);
for (unsigned int k = 0; k < N; ++k) {
workers.push_back(std::thread([=](){

Expand Down

0 comments on commit df0d1bb

Please sign in to comment.