1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-18 09:00:07 +02:00

Revert changes that break Mac build

This commit is contained in:
Paul Licameli 2018-03-24 15:14:16 -04:00
parent 35127c44b7
commit 7de9b13f68

View File

@ -45,7 +45,6 @@
#include <algorithm>
#include <wx/string.h>
#include <wx/arrstr.h>
#include <type_traits>
// ----------------------------------------------------------------------------
// TODO: I'd imagine this header may be replaced by other public headers. But,
@ -91,7 +90,7 @@ public:
size_t as_size_t() const {
wxASSERT(value >= 0);
wxASSERT(static_cast<std::make_unsigned<type>::type>(value) <= std::numeric_limits<size_t>::max());
wxASSERT(value <= std::numeric_limits<size_t>::max());
return value;
}