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

summaryrefslogtreecommitdiff
path: root/source/core/StarImageProcessing.cpp
diff options
context:
space:
mode:
authorKai Blaschke <kai.blaschke@kb-dev.net>2024-02-19 18:39:01 +0100
committerKai Blaschke <kai.blaschke@kb-dev.net>2024-02-19 18:39:01 +0100
commit7c4fbad2ba7d79580a9ebbf9fde1de117be4d08e (patch)
treef7c8e96e744222857c613e5fd14720d2695613c3 /source/core/StarImageProcessing.cpp
parent431a9c00a56cf4c603be1cf5f773b193621d8150 (diff)
Removed some redundant std::move usages in return statements.
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 27519bb..a98e7e5 100644
--- a/source/core/StarImageProcessing.cpp
+++ b/source/core/StarImageProcessing.cpp
@@ -201,7 +201,7 @@ ImageOperation imageOperationFromString(StringView string) {
else if (!which || (ptr != end && ++ptr != end))
throw ImageOperationException(strf("Improper size for hex string '{}' in imageOperationFromString", StringView(hexPtr, hexLen)), false);
else // we're in A of A=B. In vanilla only A=B pairs are evaluated, so only throw an exception if B is also there.
- return std::move(operation);
+ return operation;
which = !which;