diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2006-06-01 05:05:22 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2006-06-01 05:05:22 +0000 |
| commit | 6baabbaf894805313ebf95dc8ed4d3f9b569343f (patch) | |
| tree | 5f6cfc73c3be957e57aa9ce5ceb0aaea118ffd5a /src | |
| parent | remove deprecation warnings (diff) | |
| download | inkscape-6baabbaf894805313ebf95dc8ed4d3f9b569343f.tar.gz inkscape-6baabbaf894805313ebf95dc8ed4d3f9b569343f.zip | |
remove deprecation warnings
(bzr r1114)
Diffstat (limited to 'src')
| -rw-r--r-- | src/libnr/nr-rect.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnr/nr-rect.h b/src/libnr/nr-rect.h index 219fbd1ac..767eab902 100644 --- a/src/libnr/nr-rect.h +++ b/src/libnr/nr-rect.h @@ -80,6 +80,7 @@ namespace NR { * points. Infinities are also permitted. */ class Rect { public: + Rect() : _min(0.0, 0.0), _max(0.0, 0.0) {} Rect(NRRect const &r) : _min(r.x0, r.y0), _max(r.x1, r.y1) {} Rect(Rect const &r) : _min(r._min), _max(r._max) {} Rect(Point const &p0, Point const &p1); @@ -193,7 +194,6 @@ public: friend inline std::ostream &operator<<(std::ostream &out_file, NR::Rect const &in_rect); private: - Rect() {} template <NR::Dim2 axis> double extent() const { |
