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
/// @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});
}