From 049523cb7415a198c28c0b91af5499e41734e33e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 26 Nov 2012 13:30:20 +0100 Subject: [PATCH] Worked around long-standing Doxygen warnings. --- src/Math/Matrix.h | 10 +++++++++- src/SizeTraits.h | 16 ++++++++++++++-- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/src/Math/Matrix.h b/src/Math/Matrix.h index 2f882cc2f..a773af055 100644 --- a/src/Math/Matrix.h +++ b/src/Math/Matrix.h @@ -67,7 +67,15 @@ template class Matrix: public RectangularMatrix inline constexpr Matrix(T first, U... next): RectangularMatrix(first, next...) {} #else diff --git a/src/SizeTraits.h b/src/SizeTraits.h index 66f8c3959..b2001f5ce 100644 --- a/src/SizeTraits.h +++ b/src/SizeTraits.h @@ -147,7 +147,13 @@ SizeTraits class. */ template struct Pow { /** @brief Value of the power */ - enum: std::uint32_t { value = base*Pow::value }; + enum: std::uint32_t { + #ifndef DOXYGEN_GENERATING_OUTPUT + value = base*Pow::value + #else + value + #endif + }; }; #ifndef DOXYGEN_GENERATING_OUTPUT @@ -166,7 +172,13 @@ SizeTraits class. */ template struct Log { /** @brief Value of the logarithm */ - enum: std::uint32_t { value = 1+Log::value }; + enum: std::uint32_t { + #ifndef DOXYGEN_GENERATING_OUTPUT + value = 1+Log::value + #else + value + #endif + }; }; #ifndef DOXYGEN_GENERATING_OUTPUT