From 4ffc00a6fc45f77b5632325cfa6cd26743a9a42a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Thu, 12 Jan 2012 12:13:08 +0000 Subject: [PATCH] Fixed one cppcheck error git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@488 fdac6126-5c0c-442c-9429-916003d36597 --- src/OpenMesh/Core/IO/writer/OMWriter.cc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/OpenMesh/Core/IO/writer/OMWriter.cc b/src/OpenMesh/Core/IO/writer/OMWriter.cc index 146cff89..db39ae81 100644 --- a/src/OpenMesh/Core/IO/writer/OMWriter.cc +++ b/src/OpenMesh/Core/IO/writer/OMWriter.cc @@ -45,12 +45,13 @@ #include // -------------------- STL #if defined( OM_CC_MIPS ) -# include -# include + #include + #include #else -# include -# include + #include + #include #endif + #include // -------------------- OpenMesh #include @@ -168,7 +169,9 @@ template struct Enabler bool _OMWriter_::write_binary(std::ostream& _os, BaseExporter& _be, Options _opt) const { - Enabler enabler(omlog()); + #ifndef DOXY_IGNORE_THIS + Enabler enabler(omlog()); + #endif omlog() << "[OMWriter] : write binary file\n";