Remove some debugging code I left in accidentally some time ago.
[synfig.git] / synfig-core / trunk / src / synfig / vector.h
index 61314f1..13a3805 100644 (file)
@@ -79,11 +79,11 @@ public:
 
        value_type &
        operator[](const int& i)
-       { return (&_x)[i] ; }
+       { return i?_y:_x; }
 
        const value_type &
        operator[](const int& i) const
-       { return (&_x)[i] ; }
+       { return i?_y:_x; }
 
        const Vector &
        operator+=(const Vector &rhs)