summarylogtreecommitdiffstats
path: root/pl-0001-fix-Copy-elision-not-applying.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pl-0001-fix-Copy-elision-not-applying.patch')
-rw-r--r--pl-0001-fix-Copy-elision-not-applying.patch25
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
-