From 9233e702bccf775ffeb9ddad4f582570013d5ef0 Mon Sep 17 00:00:00 2001 From: Lukas Rothenberger Date: Mon, 8 Jul 2024 14:31:55 +0200 Subject: [PATCH] minor optimization --- rtlib/calltree/utils.cpp | 2 +- rtlib/calltree/utils.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rtlib/calltree/utils.cpp b/rtlib/calltree/utils.cpp index 863607fde..b4f2924a9 100644 --- a/rtlib/calltree/utils.cpp +++ b/rtlib/calltree/utils.cpp @@ -17,7 +17,7 @@ namespace __dp { -DependencyMetadata processQueueElement(MetaDataQueueElement mdqe) { +DependencyMetadata processQueueElement(MetaDataQueueElement && mdqe) { const auto calltree_timer = Timer(timers, TimerRegion::PROCESSQUEUEELEMENT); // cout << "processing " << mdqe.toString() << "\n"; diff --git a/rtlib/calltree/utils.hpp b/rtlib/calltree/utils.hpp index e823db615..809190cf2 100644 --- a/rtlib/calltree/utils.hpp +++ b/rtlib/calltree/utils.hpp @@ -14,5 +14,5 @@ #include "MetaDataQueueElement.hpp" namespace __dp { -DependencyMetadata processQueueElement(MetaDataQueueElement mdqe); +DependencyMetadata processQueueElement(MetaDataQueueElement && mdqe); } // namespace __dp