diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-11-18 12:02:03 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2020-11-18 18:22:16 +0000 |
commit | eb28759a307ff298e2125d6d3deff260c941ec45 (patch) | |
tree | 9644927a0452f8c17024b9f9784e6be1452bbfe2 /messagebus | |
parent | 5708135b1ddbac03f268b6235027c10121cb5ca4 (diff) |
Explicit copy construction of Trace.
Diffstat (limited to 'messagebus')
-rw-r--r-- | messagebus/src/vespa/messagebus/routable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/messagebus/src/vespa/messagebus/routable.h b/messagebus/src/vespa/messagebus/routable.h index 50cb4e090ce..dbae90c9aa1 100644 --- a/messagebus/src/vespa/messagebus/routable.h +++ b/messagebus/src/vespa/messagebus/routable.h @@ -106,7 +106,7 @@ public: * * @param trace The trace to set. */ - void setTrace(const Trace &trace) { _trace = trace; } + void setTrace(Trace &&trace) { _trace = std::move(trace); } /** * Swaps the state that makes this routable unique to another routable. The |