forked from OSchip/llvm-project
[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:
parent
2ea271b54a
commit
d2aaf5bd37
|
@ -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});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue