]> granicus.if.org Git - llvm/commitdiff
Change operation_not_supported to not_supported.
authorZachary Turner <zturner@google.com>
Tue, 3 May 2016 00:53:16 +0000 (00:53 +0000)
committerZachary Turner <zturner@google.com>
Tue, 3 May 2016 00:53:16 +0000 (00:53 +0000)
Apparently operation_not_supported is...  not supported everywhere.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268348 91177308-0d34-0410-b5e6-96231b3b80d8

lib/DebugInfo/PDB/Raw/MappedBlockStream.cpp

index 25c28e587a46bbfe660296c3bf6d55253eb2652e..81e75d7d759dd9e8369e14d8eecc9cb42f6d9ca1 100644 (file)
@@ -55,5 +55,5 @@ MappedBlockStream::readBytes(uint32_t Offset,
 std::error_code MappedBlockStream::getArrayRef(uint32_t Offset,
                                                ArrayRef<uint8_t> &Buffer,
                                                uint32_t Length) const {
-  return std::make_error_code(std::errc::operation_not_supported);
+  return std::make_error_code(std::errc::not_supported);
 }