1234567891011121314151617181920 |
- diff --git a/src/demangle/ItaniumDemangle.h b/src/demangle/ItaniumDemangle.h
- --- a/src/demangle/ItaniumDemangle.h
- +++ b/src/demangle/ItaniumDemangle.h
- @@ -115,13 +115,13 @@
- DEMANGLE_NAMESPACE_BEGIN
-
- template <class T, size_t N> class PODSmallVector {
- - static_assert(std::is_pod<T>::value,
- - "T is required to be a plain old data type");
- + static_assert(std::is_trivial<T>::value,
- + "T is required to be a trivial type");
-
- T *First = nullptr;
- T *Last = nullptr;
- T *Cap = nullptr;
- - T Inline[N] = {0};
- + T Inline[N] = {};
-
- bool isInline() const { return First == Inline; }
-
|