diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2018-05-19 20:23:53 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2018-05-19 20:23:53 +0100 |
commit | ce72a4975b76c1f244221d7d11e6a4eebc98b99b (patch) | |
tree | b50ba73b4e4a14f66b281c05fd5a52e960b94076 /yage/math/matrix.h | |
parent | fe4ef72bde8e93589922a60b3a03dbb148a00b57 (diff) | |
download | YAGE-ce72a4975b76c1f244221d7d11e6a4eebc98b99b.tar.gz YAGE-ce72a4975b76c1f244221d7d11e6a4eebc98b99b.zip |
Using pragma instead of gards
The reason for this is that it reduces clashes between names.
Diffstat (limited to 'yage/math/matrix.h')
-rw-r--r-- | yage/math/matrix.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/yage/math/matrix.h b/yage/math/matrix.h index ac612385..cefcd221 100644 --- a/yage/math/matrix.h +++ b/yage/math/matrix.h @@ -9,8 +9,7 @@ /** @file */ -#ifndef YAGE_MATH_MATRIX_H -#define YAGE_MATH_MATRIX_H +#pragma once #include <algorithm> #include <exception> @@ -480,5 +479,3 @@ Matrix<M, Q, T> multiply(const Matrix<M, N, T> &m1, const Matrix<P, Q, T> &m2) } // namespace matrix } // namespace yage - -#endif |