From 7d277b81e7128c6b9c913539a6a25c331a0c24b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 23 May 2012 17:48:37 +0200 Subject: [PATCH] Hide static_assert from documentation. --- src/Plugins/TgaImporter/TgaImporter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Plugins/TgaImporter/TgaImporter.cpp b/src/Plugins/TgaImporter/TgaImporter.cpp index b137901e6..599392a2e 100644 --- a/src/Plugins/TgaImporter/TgaImporter.cpp +++ b/src/Plugins/TgaImporter/TgaImporter.cpp @@ -24,7 +24,9 @@ using namespace Corrade::Utility; namespace Magnum { namespace Trade { namespace TgaImporter { +#ifndef DOXYGEN_GENERATING_OUTPUT static_assert(sizeof(TgaImporter::Header) == 18, "TgaImporter: header size is not 18 bytes"); +#endif bool TgaImporter::TgaImporter::open(const string& filename) { ifstream in(filename.c_str());