lib/error: fix compiler error with g++11 or newer

This wasprobably a syntax error on my part.
BodgeMaster-unfinished
BodgeMaster 2022-07-20 09:58:58 +02:00
parent a0d2974f0a
commit 2cc2543b2a
1 changed files with 4 additions and 4 deletions

View File

@ -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>