diff options
Diffstat (limited to 'include/llvm/Object/Error.h')
-rw-r--r-- | include/llvm/Object/Error.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Object/Error.h b/include/llvm/Object/Error.h index eb938338715d..a15f8b9236eb 100644 --- a/include/llvm/Object/Error.h +++ b/include/llvm/Object/Error.h @@ -50,6 +50,7 @@ inline std::error_code make_error_code(object_error e) { /// Currently inherits from ECError for easy interoperability with /// std::error_code, but this will be removed in the future. class BinaryError : public ErrorInfo<BinaryError, ECError> { + virtual void anchor(); public: static char ID; BinaryError() { |