diff options
author | FormerLurker <hochgebe@gmail.com> | 2020-10-24 20:02:25 +0300 |
---|---|---|
committer | FormerLurker <hochgebe@gmail.com> | 2020-10-24 20:02:25 +0300 |
commit | b223bc9fea6bad9c0c4d0e86662f5c4c0de513c2 (patch) | |
tree | 6a864a02a93df50c388caf5bd8dc7db76fddc602 /ArcWelder/segmented_shape.h | |
parent | b707bb51b5171c72cc6e24ff6b32115ca1febeae (diff) |
Move segmented_shape default params to .h. Fix compiler warnings.
Diffstat (limited to 'ArcWelder/segmented_shape.h')
-rw-r--r-- | ArcWelder/segmented_shape.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ArcWelder/segmented_shape.h b/ArcWelder/segmented_shape.h index 957ceab..09d3d86 100644 --- a/ArcWelder/segmented_shape.h +++ b/ArcWelder/segmented_shape.h @@ -175,7 +175,7 @@ class segmented_shape { public: - segmented_shape(int min_segments, int max_segments, double resolution_mm); + segmented_shape(int min_segments = DEFAULT_MIN_SEGMENTS, int max_segments = DEFAULT_MAX_SEGMENTS, double resolution_mm = DEFAULT_RESOLUTION_MM); segmented_shape& operator=(const segmented_shape& pos); virtual ~segmented_shape(); int get_num_segments(); |