diff OrthancStone/Sources/Toolbox/AffineTransform2D.h @ 1571:85e117739eca

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 21 Sep 2020 17:46:39 +0200
parents 6d14ed6163b1
children 8563ea5d8ae4
line wrap: on
line diff
--- a/OrthancStone/Sources/Toolbox/AffineTransform2D.h	Mon Sep 21 14:50:26 2020 +0200
+++ b/OrthancStone/Sources/Toolbox/AffineTransform2D.h	Mon Sep 21 17:46:39 2020 +0200
@@ -37,7 +37,7 @@
     AffineTransform2D();
 
     // The matrix must be 3x3, without perspective effects
-    AffineTransform2D(const Matrix& m);
+    explicit AffineTransform2D(const Matrix& m);
 
     AffineTransform2D(const AffineTransform2D& other) :
       matrix_(other.matrix_)