summaryrefslogtreecommitdiffstats
path: root/mmss/schedule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mmss/schedule.cpp')
-rw-r--r--mmss/schedule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mmss/schedule.cpp b/mmss/schedule.cpp
index 7e6247e..77d766d 100644
--- a/mmss/schedule.cpp
+++ b/mmss/schedule.cpp
@@ -29,7 +29,7 @@
namespace MMSS {
-void run_scheduled(std::shared_ptr<scheduled_t> scheduled) {
+void run_scheduled(const std::shared_ptr<scheduled_t> &scheduled) {
scheduled->f(scheduled->node.get(), scheduled->node->ctx, scheduled->arg);
}