summaryrefslogtreecommitdiffstats
path: root/src/trace/trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/trace/trace.h')
-rw-r--r--src/trace/trace.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/trace/trace.h b/src/trace/trace.h
index 9f680752b..e6768cb4e 100644
--- a/src/trace/trace.h
+++ b/src/trace/trace.h
@@ -17,6 +17,7 @@
#include <glibmm/refptr.h>
#include <gdkmm/pixbuf.h>
+#include <utility>
#include <vector>
class SPImage;
@@ -40,11 +41,11 @@ public:
/**
*
*/
- TracingEngineResult(const std::string &theStyle,
- const std::string &thePathData,
+ TracingEngineResult(std::string theStyle,
+ std::string thePathData,
long theNodeCount) :
- style(theStyle),
- pathData(thePathData),
+ style(std::move(theStyle)),
+ pathData(std::move(thePathData)),
nodeCount(theNodeCount)
{}