summaryrefslogtreecommitdiffstats
path: root/src/2geom/rect.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/2geom/rect.h')
-rw-r--r--src/2geom/rect.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/2geom/rect.h b/src/2geom/rect.h
index 6a6d979a4..86f9ec140 100644
--- a/src/2geom/rect.h
+++ b/src/2geom/rect.h
@@ -54,9 +54,9 @@ template<>
class D2<Interval> {
private:
Interval f[2];
- D2<Interval>();// { f[X] = f[Y] = Interval(0, 0); }
-
public:
+ D2<Interval>() { f[X] = f[Y] = Interval(0, 0); }
+
D2<Interval>(Interval const &a, Interval const &b) {
f[X] = a;
f[Y] = b;