From 38e361fc58b1b64685e0e73d3c8acb1f9da3322b Mon Sep 17 00:00:00 2001 From: ishmal Date: Thu, 1 Jun 2006 05:05:22 +0000 Subject: [PATCH] remove deprecation warnings --- src/libnr/nr-rect.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 double extent() const { -- 2.30.2