OSDN Git Service

[lib/Object] - Fix build bot after r303331 "[lib/Object] - Minor API update for llvm...
authorGeorge Rimar <grimar@accesssoftek.com>
Thu, 18 May 2017 08:14:43 +0000 (08:14 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Thu, 18 May 2017 08:14:43 +0000 (08:14 +0000)
Error was:
Decompressor.h:33:28: error: extra qualification ‘llvm::object::Decompressor::’ on member ‘resizeAndDecompress’ [-fpermissive]
   template <class T> Error Decompressor::resizeAndDecompress(T &Out) {

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

include/llvm/Object/Decompressor.h

index 5af1b41..0f63f8b 100644 (file)
@@ -30,7 +30,7 @@ public:
 
   /// @brief Resize the buffer and uncompress section data into it.
   /// @param Out         Destination buffer.
-  template <class T> Error Decompressor::resizeAndDecompress(T &Out) {
+  template <class T> Error resizeAndDecompress(T &Out) {
     Out.resize(DecompressedSize);
     return decompress({Out.data(), (size_t)DecompressedSize});
   }