summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/2geom/matrix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/2geom/matrix.h b/src/2geom/matrix.h
index c9f244d62..ba4451265 100644
--- a/src/2geom/matrix.h
+++ b/src/2geom/matrix.h
@@ -105,6 +105,7 @@ class Matrix {
};
Matrix operator*(Matrix const &a, Matrix const &b);
+inline Matrix &operator*=(Matrix &a, Matrix const &b) { a = a * b; return a; }
/** A function to print out the Matrix (for debugging) */
inline std::ostream &operator<< (std::ostream &out_file, const Geom::Matrix &m) {