diff options
Diffstat (limited to 'app-editors/imhex/files/imhex-1.21.2-fix-copy-elision-not-applying.patch')
-rw-r--r-- | app-editors/imhex/files/imhex-1.21.2-fix-copy-elision-not-applying.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/app-editors/imhex/files/imhex-1.21.2-fix-copy-elision-not-applying.patch b/app-editors/imhex/files/imhex-1.21.2-fix-copy-elision-not-applying.patch deleted file mode 100644 index e4606a626..000000000 --- a/app-editors/imhex/files/imhex-1.21.2-fix-copy-elision-not-applying.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 90241ef46d52fb00f3941b526a9b4d20d9170ef0 Mon Sep 17 00:00:00 2001 -From: WerWolv <werwolv98@gmail.com> -Date: Thu, 18 Aug 2022 00:23:31 +0200 -Subject: [PATCH 1/2] fix: Copy elision not applying - ---- - lib/source/pl/core/evaluator.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/source/pl/core/evaluator.cpp b/lib/source/pl/core/evaluator.cpp -index 37e7168..0bc9133 100644 ---- a/lib/external/pattern_language/lib/source/pl/core/evaluator.cpp -+++ b/lib/external/pattern_language/lib/source/pl/core/evaluator.cpp -@@ -59,7 +59,7 @@ namespace pl::core { - - pattern->setVariableName(name); - -- variables.push_back(std::move(std::unique_ptr<ptrn::Pattern>(pattern))); -+ variables.push_back(std::unique_ptr<ptrn::Pattern>(pattern)); - } - - void Evaluator::createVariable(const std::string &name, ast::ASTNode *type, const std::optional<Token::Literal> &value, bool outVariable) { --- -2.37.2 - |