diff options
Diffstat (limited to 'llvm/lib/Object/DXContainer.cpp')
-rw-r--r-- | llvm/lib/Object/DXContainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Object/DXContainer.cpp b/llvm/lib/Object/DXContainer.cpp index 35a58ed..a83cf70 100644 --- a/llvm/lib/Object/DXContainer.cpp +++ b/llvm/lib/Object/DXContainer.cpp @@ -32,7 +32,7 @@ static Error readStruct(StringRef Buffer, const char *Src, T &Struct) { template <typename T> static Error readInteger(StringRef Buffer, const char *Src, T &Val) { - static_assert(std::is_integral_v<T>, + static_assert(std::is_integral<T>::value, "Cannot call readInteger on non-integral type."); // Don't read before the beginning or past the end of the file if (Src < Buffer.begin() || Src + sizeof(T) > Buffer.end()) |