diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2019-01-02 09:41:30 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2019-01-02 09:41:30 +0000 |
| commit | 169dff19d4da8d76e69b8e896aa25b0013639c03 (patch) | |
| tree | a0c070fa95188b5cde708ac285e6a2db9df4a83f /src/transf_mat_3x4.cpp | |
| parent | Avoid creating a new document before opening an old document. (diff) | |
| download | inkscape-169dff19d4da8d76e69b8e896aa25b0013639c03.tar.gz inkscape-169dff19d4da8d76e69b8e896aa25b0013639c03.zip | |
modernize loops
Diffstat (limited to 'src/transf_mat_3x4.cpp')
| -rw-r--r-- | src/transf_mat_3x4.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transf_mat_3x4.cpp b/src/transf_mat_3x4.cpp index c5071da2a..7af2d86c5 100644 --- a/src/transf_mat_3x4.cpp +++ b/src/transf_mat_3x4.cpp @@ -159,10 +159,10 @@ TransfMat3x4::copy_tmat(double rhs[3][4]) { void TransfMat3x4::print () const { g_print ("Transformation matrix:\n"); - for (int i = 0; i < 3; ++i) { + for (const auto & i : tmat) { g_print (" "); for (int j = 0; j < 4; ++j) { - g_print ("%8.2f ", tmat[i][j]); + g_print ("%8.2f ", i[j]); } g_print ("\n"); } |
