From cbedb9fe61cfd20f70b3f494b5a9998dd96a6b6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 1 Apr 2012 03:45:22 +0200 Subject: [PATCH] Fixed more Doxygen C++11 incompatibilities. --- src/Math/Matrix3.h | 4 ++++ src/Math/Matrix4.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/Math/Matrix3.h b/src/Math/Matrix3.h index d810fa6cf..2be5ab7c4 100644 --- a/src/Math/Matrix3.h +++ b/src/Math/Matrix3.h @@ -53,7 +53,11 @@ template class Matrix3: public Matrix { * Note that the values are in column-major order. */ /* doxygen: @copydoc Matrix::Matrix(T, U&&...) doesn't work */ + #ifndef DOXYGEN_GENERATING_OUTPUT template inline constexpr Matrix3(T first, U&&... next): Matrix(first, std::forward(next)...) {} + #else + template inline constexpr Matrix3(T first, U&&... next); + #endif /** @copydoc Matrix::Matrix(const Matrix&) */ inline constexpr Matrix3(const Matrix& other): Matrix(other) {} diff --git a/src/Math/Matrix4.h b/src/Math/Matrix4.h index 3c813d85c..fafdfb6cc 100644 --- a/src/Math/Matrix4.h +++ b/src/Math/Matrix4.h @@ -122,7 +122,11 @@ template class Matrix4: public Matrix { * Note that the values are in column-major order. */ /* doxygen: @copydoc Matrix::Matrix(T, U&&...) doesn't work */ + #ifndef DOXYGEN_GENERATING_OUTPUT template inline constexpr Matrix4(T first, U&&... next): Matrix(first, std::forward(next)...) {} + #else + template inline constexpr Matrix4(T first, U&&... next); + #endif /** @copydoc Matrix::Matrix(const Matrix&) */ inline constexpr Matrix4(const Matrix& other): Matrix(other) {}