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.

llvm-svn: 268348

llvm/lib/DebugInfo/PDB/Raw/MappedBlockStream.cpp

index 25c28e5..81e75d7 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);
 }