From ce72a4975b76c1f244221d7d11e6a4eebc98b99b Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sat, 19 May 2018 20:23:53 +0100 Subject: Using pragma instead of gards The reason for this is that it reduces clashes between names. --- yage/math/matrix.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'yage/math') 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 #include @@ -480,5 +479,3 @@ Matrix multiply(const Matrix &m1, const Matrix &m2) } // namespace matrix } // namespace yage - -#endif -- cgit