diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2012-11-15 11:42:04 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2012-11-15 11:42:04 +0000 |
| commit | 15f08c37a261583b138f9cbecd6c271921f4e514 (patch) | |
| tree | 3834399cbdc77ed1119684f93b3d660e07125859 /src/trace | |
| parent | cppcheck: Simple fixes for src/ui/widget (diff) | |
| download | inkscape-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.h | 11 |
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); } |
