mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-11 02:16:50 +00:00
Try to revive buildbots after r201620
llvm-svn: 201651
This commit is contained in:
parent
2169c6bba4
commit
1715e7a81f
@ -103,6 +103,7 @@ public:
|
||||
|
||||
private:
|
||||
typedef typename remove_reference<T>::type &reference;
|
||||
typedef const typename remove_reference<T>::type &const_reference;
|
||||
typedef typename remove_reference<T>::type *pointer;
|
||||
|
||||
public:
|
||||
@ -175,7 +176,7 @@ public:
|
||||
}
|
||||
|
||||
reference get() { return *getStorage(); }
|
||||
const reference get() const { return const_cast<ErrorOr<T> >(this)->get(); }
|
||||
const_reference get() const { return const_cast<ErrorOr<T> >(this)->get(); }
|
||||
|
||||
error_code getError() const {
|
||||
return HasError ? *getErrorStorage() : error_code::success();
|
||||
|
Loading…
x
Reference in New Issue
Block a user