Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarImageProcessing.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-02-29 19:09:10 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-02-29 19:09:10 +1100
commit0b4119ce125792d55da6a5bdd48d3cbfb4953e5a (patch)
tree2cd0699a24586eb1635024a232b162423f65b662 /source/core/StarImageProcessing.cpp
parent7ff287511d8e5d18260202d80d6b8c68368bc5bc (diff)
Fix possible Unicode exception in Directives parsing
Diffstat (limited to 'source/core/StarImageProcessing.cpp')
-rw-r--r--source/core/StarImageProcessing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/StarImageProcessing.cpp b/source/core/StarImageProcessing.cpp
index f3a3108..a56cedc 100644
--- a/source/core/StarImageProcessing.cpp
+++ b/source/core/StarImageProcessing.cpp
@@ -230,7 +230,7 @@ ImageOperation imageOperationFromString(StringView string) {
bits.emplace_back(split);
});
- String type = bits.at(0);
+ StringView const& type = bits.at(0);
if (type == "hueshift") {
return HueShiftImageOperation::hueShiftDegrees(lexicalCast<float>(bits.at(1)));