summaryrefslogtreecommitdiffstats
path: root/src/trace
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2012-11-15 11:42:04 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2012-11-15 11:42:04 +0000
commit15f08c37a261583b138f9cbecd6c271921f4e514 (patch)
tree3834399cbdc77ed1119684f93b3d660e07125859 /src/trace
parentcppcheck: Simple fixes for src/ui/widget (diff)
downloadinkscape-15f08c37a261583b138f9cbecd6c271921f4e514.tar.gz
inkscape-15f08c37a261583b138f9cbecd6c271921f4e514.zip
cppcheck: Simple fixes for src/ui/dialog
(bzr r11874)
Diffstat (limited to 'src/trace')
-rw-r--r--src/trace/trace.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/trace/trace.h b/src/trace/trace.h
index f811f4891..9f9f44b14 100644
--- a/src/trace/trace.h
+++ b/src/trace/trace.h
@@ -48,12 +48,11 @@ public:
*/
TracingEngineResult(const std::string &theStyle,
const std::string &thePathData,
- long theNodeCount)
- {
- style = theStyle;
- pathData = thePathData;
- nodeCount = theNodeCount;
- }
+ long theNodeCount) :
+ style(theStyle),
+ pathData(thePathData),
+ nodeCount(theNodeCount)
+ {}
TracingEngineResult(const TracingEngineResult &other)
{ assign(other); }