Update StarImageProcessing.cpp
This commit is contained in:
parent
6bcc7224e8
commit
840d64dbed
@ -342,11 +342,11 @@ ImageOperation imageOperationFromString(StringView string) {
|
||||
return NullImageOperation();
|
||||
}
|
||||
} catch (OutOfRangeException const& e) {
|
||||
return ErrorImageOperation{e.what()};
|
||||
return ErrorImageOperation{std::string(e.what())};
|
||||
} catch (BadLexicalCast const& e) {
|
||||
return ErrorImageOperation{e.what()};
|
||||
return ErrorImageOperation{std::string(e.what())};
|
||||
} catch (StarException const& e) {
|
||||
return ErrorImageOperation{e.what()};
|
||||
return ErrorImageOperation{std::string(e.what())};
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user