[orc-rt] Remove incorrect noexcept specifiers.

Conversions between Error/Expected and their serializable counterparts may
throw.
This commit is contained in:
Lang Hames
2025-10-06 21:05:32 +11:00
parent 69761e761c
commit 4ab25977ea

View File

@@ -37,12 +37,12 @@ private:
return Arg;
}
static SPSSerializableError toSerializable(Error Err) noexcept {
static SPSSerializableError toSerializable(Error Err) {
return SPSSerializableError(std::move(Err));
}
template <typename T>
static SPSSerializableExpected<T> toSerializable(Expected<T> Arg) noexcept {
static SPSSerializableExpected<T> toSerializable(Expected<T> Arg) {
return SPSSerializableExpected<T>(std::move(Arg));
}
@@ -61,12 +61,12 @@ private:
return std::forward<T>(Arg);
}
static Error fromSerializable(SPSSerializableError Err) noexcept {
static Error fromSerializable(SPSSerializableError Err) {
return Err.toError();
}
template <typename T>
static Expected<T> fromSerializable(SPSSerializableExpected<T> Val) noexcept {
static Expected<T> fromSerializable(SPSSerializableExpected<T> Val) {
return Val.toExpected();
}