Use C++11 version of "trailing return type" instead of more recent fully auto return type
Change #include of Windows.h to use NOMINMAX to avoid conflict with std::max (not sure why that didn't trigger before now; maybe different Windows SDK versions used?)
Fix up a few loss-of-precision warnings related to type layouts (the new code uses size_t, but the public API just uses int, and one function that had been used in the core of things was defined on int).
auto
return type#include
ofWindows.h
to useNOMINMAX
to avoid conflict withstd::max
(not sure why that didn't trigger before now; maybe different Windows SDK versions used?)size_t
, but the public API just usesint
, and one function that had been used in the core of things was defined onint
).