diff options
author | KokaKiwi | 2022-09-04 01:08:59 +0200 |
---|---|---|
committer | KokaKiwi | 2022-09-04 01:08:59 +0200 |
commit | 0bc87e70c6cf68a66dca13539237bca2ebc3ad17 (patch) | |
tree | 51e94367c77ed6fb500e89657e765b00ed47e026 /pl-0001-fix-Copy-elision-not-applying.patch | |
parent | 455d8eee18eefd28513251a09ab676a3f48fb543 (diff) | |
download | aur-0bc87e70c6cf68a66dca13539237bca2ebc3ad17.tar.gz |
Update: 1.22.0
Diffstat (limited to 'pl-0001-fix-Copy-elision-not-applying.patch')
-rw-r--r-- | pl-0001-fix-Copy-elision-not-applying.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/pl-0001-fix-Copy-elision-not-applying.patch b/pl-0001-fix-Copy-elision-not-applying.patch deleted file mode 100644 index 4b60258be8b0..000000000000 --- a/pl-0001-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/source/pl/core/evaluator.cpp -+++ b/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 - |