From c35d732013f71fd9096a464ab53953129fb919cb Mon Sep 17 00:00:00 2001 From: Krzysztof Kosi??ski Date: Mon, 9 May 2011 00:43:56 +0200 Subject: Fix compilation on GCC 4.6 (bzr r10202) --- src/2geom/transforms.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/2geom/transforms.h b/src/2geom/transforms.h index 1c965eb9f..48d4b1dba 100644 --- a/src/2geom/transforms.h +++ b/src/2geom/transforms.h @@ -209,7 +209,7 @@ protected: public: Coord factor() const { return f; } void setFactor(Coord nf) { f = nf; } - S &operator*=(S const &s) { f += s.f; return *static_cast(this); } + S &operator*=(S const &s) { f += s.f; return static_cast(*this); } bool operator==(S const &s) const { return f == s.f; } S inverse() const { return S(-f); } static S identity() { return S(0); } -- cgit v1.2.3