summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2011-05-08 22:43:56 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2011-05-08 22:43:56 +0000
commitc35d732013f71fd9096a464ab53953129fb919cb (patch)
tree2fb9b105c09df02164703843252fbab2ba1fde93 /src
parentAllow New Document to be created from Unity launcher quicklist (diff)
downloadinkscape-c35d732013f71fd9096a464ab53953129fb919cb.tar.gz
inkscape-c35d732013f71fd9096a464ab53953129fb919cb.zip
Fix compilation on GCC 4.6
(bzr r10202)
Diffstat (limited to 'src')
-rw-r--r--src/2geom/transforms.h2
1 files changed, 1 insertions, 1 deletions
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<S const*>(this); }
+ S &operator*=(S const &s) { f += s.f; return static_cast<S &>(*this); }
bool operator==(S const &s) const { return f == s.f; }
S inverse() const { return S(-f); }
static S identity() { return S(0); }