Move a couple of #undef's

'pbd/timing.h' now includes a call to 'std::numeric_limits<>::max()'
This commit is contained in:
John Emmas 2018-05-19 09:28:30 +01:00
parent 7e78d1c786
commit 07466440c4
2 changed files with 5 additions and 5 deletions

View file

@ -31,6 +31,11 @@
#include "pbd/libpbd_visibility.h"
#ifdef COMPILER_MSVC
#undef min
#undef max
#endif
namespace PBD {
LIBPBD_API bool get_min_max_avg_total (const std::vector<uint64_t>& values, uint64_t& min, uint64_t& max, uint64_t& avg, uint64_t& total);

View file

@ -22,11 +22,6 @@
#include <sstream>
#include <limits>
#ifdef COMPILER_MSVC
#undef min
#undef max
#endif
namespace PBD {
bool