diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-05-01 03:35:22 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-01 03:35:22 +1000 |
commit | 840d64dbed5bf6d8f6b5bd69c1933beaa8b7ff1a (patch) | |
tree | 4ddd84196922886a4e9d048416d2f610055525f5 /source/core/StarImageProcessing.cpp | |
parent | 6bcc7224e8612ce264de0dc63d42afd4c7bb3476 (diff) |
Update StarImageProcessing.cpp
Diffstat (limited to 'source/core/StarImageProcessing.cpp')
-rw-r--r-- | source/core/StarImageProcessing.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/core/StarImageProcessing.cpp b/source/core/StarImageProcessing.cpp index aa29d2a..b803470 100644 --- a/source/core/StarImageProcessing.cpp +++ b/source/core/StarImageProcessing.cpp @@ -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())}; } } |