Simplify another function that doesn't fail.
[oota-llvm.git] / include / llvm / Object / COFF.h
index ccac02036adc78179ddf9a333184eacf2801f01a..faf3249f307016671b44a974e184b4b9682ea448 100644 (file)
@@ -613,7 +613,7 @@ protected:
                                 StringRef &Res) const override;
   std::error_code getSymbolAddress(DataRefImpl Symb,
                                    uint64_t &Res) const override;
-  std::error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const override;
+  uint64_t getSymbolSize(DataRefImpl Symb) const override;
   uint32_t getSymbolFlags(DataRefImpl Symb) const override;
   std::error_code getSymbolType(DataRefImpl Symb,
                                 SymbolRef::Type &Res) const override;