[lib/Object] - Fix build bot after r303331 "[lib/Object] - Minor API update for llvm::Decompressor".

Error was:
Decompressor.h:33:28: error: extra qualification ‘llvm::object::Decompressor::’ on member ‘resizeAndDecompress’ [-fpermissive]
   template <class T> Error Decompressor::resizeAndDecompress(T &Out) {

llvm-svn: 303334
This commit is contained in:
George Rimar 2017-05-18 08:14:43 +00:00
parent 2ea271b54a
commit d2aaf5bd37
1 changed files with 1 additions and 1 deletions

View 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});
}