aboutsummaryrefslogtreecommitdiff
path: root/externals/demangle/llvm/Demangle/Utility.h
diff options
context:
space:
mode:
Diffstat (limited to 'externals/demangle/llvm/Demangle/Utility.h')
-rw-r--r--externals/demangle/llvm/Demangle/Utility.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/externals/demangle/llvm/Demangle/Utility.h b/externals/demangle/llvm/Demangle/Utility.h
index 30dfbfc8dc..0d2e613ea9 100644
--- a/externals/demangle/llvm/Demangle/Utility.h
+++ b/externals/demangle/llvm/Demangle/Utility.h
@@ -88,8 +88,8 @@ public:
/// If a ParameterPackExpansion (or similar type) is encountered, the offset
/// into the pack that we're currently printing.
- unsigned CurrentPackIndex = std::numeric_limits<unsigned>::max();
- unsigned CurrentPackMax = std::numeric_limits<unsigned>::max();
+ unsigned CurrentPackIndex = (std::numeric_limits<unsigned>::max)();
+ unsigned CurrentPackMax = (std::numeric_limits<unsigned>::max)();
/// When zero, we're printing template args and '>' needs to be parenthesized.
/// Use a counter so we can simply increment inside parentheses.