diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2012-03-07 17:19:18 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2012-03-07 17:19:18 +0000 |
| commit | 2eb76fb0bd4b8572866d3c2390eaa82747890292 (patch) | |
| tree | 673eb8fdedd2cc54fd48347fb59cc5e1e20f8508 /src/snap-candidate.h | |
| parent | Translations. Greek translation update by Dimitris Spingos. (diff) | |
| download | inkscape-2eb76fb0bd4b8572866d3c2390eaa82747890292.tar.gz inkscape-2eb76fb0bd4b8572866d3c2390eaa82747890292.zip | |
cppcheck
(bzr r11052)
Diffstat (limited to 'src/snap-candidate.h')
| -rw-r--r-- | src/snap-candidate.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/snap-candidate.h b/src/snap-candidate.h index 1c84cdbae..db0c3fd67 100644 --- a/src/snap-candidate.h +++ b/src/snap-candidate.h @@ -30,14 +30,16 @@ public: _source_type(source), _target_type(target), _source_num(source_num), - _target_bbox(bbox) + _target_bbox(bbox), + _dist() { }; SnapCandidatePoint(Geom::Point const &point, Inkscape::SnapSourceType const source, Inkscape::SnapTargetType const target) : _point(point), _source_type(source), - _target_type(target) + _target_type(target), + _dist() { _source_num = -1; _target_bbox = Geom::OptRect(); @@ -47,7 +49,8 @@ public: : _point(point), _source_type(source), _target_type(Inkscape::SNAPTARGET_UNDEFINED), - _source_num(-1) + _source_num(-1), + _dist() { _target_bbox = Geom::OptRect(); } |
