lib/error: fix compiler error with g++11 or newer
This wasprobably a syntax error on my part.BodgeMaster-unfinished
parent
a0d2974f0a
commit
2cc2543b2a
|
@ -23,10 +23,10 @@ struct ErrorOr {
|
|||
uint8_t errorCode;
|
||||
T value;
|
||||
|
||||
ErrorOr<T>();
|
||||
ErrorOr<T>(T);
|
||||
ErrorOr<T>(bool, uint8_t);
|
||||
ErrorOr<T>(bool, uint8_t, T);
|
||||
ErrorOr();
|
||||
ErrorOr(T);
|
||||
ErrorOr(bool, uint8_t);
|
||||
ErrorOr(bool, uint8_t, T);
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
|
|
Loading…
Reference in New Issue