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