From 7de9b13f68c887ff47ad6082bc33366e4324a8f7 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Sat, 24 Mar 2018 15:14:16 -0400 Subject: [PATCH] Revert changes that break Mac build --- include/audacity/Types.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/audacity/Types.h b/include/audacity/Types.h index 4b763e39b..63f028964 100644 --- a/include/audacity/Types.h +++ b/include/audacity/Types.h @@ -45,7 +45,6 @@ #include #include #include -#include // ---------------------------------------------------------------------------- // 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::type>(value) <= std::numeric_limits::max()); + wxASSERT(value <= std::numeric_limits::max()); return value; }