Fixed one cppcheck error
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@488 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -45,12 +45,13 @@
|
||||
#include <OpenMesh/Core/System/config.h>
|
||||
// -------------------- STL
|
||||
#if defined( OM_CC_MIPS )
|
||||
# include <time.h>
|
||||
# include <string.h>
|
||||
#include <time.h>
|
||||
#include <string.h>
|
||||
#else
|
||||
# include <ctime>
|
||||
# include <cstring>
|
||||
#include <ctime>
|
||||
#include <cstring>
|
||||
#endif
|
||||
|
||||
#include <fstream>
|
||||
// -------------------- OpenMesh
|
||||
#include <OpenMesh/Core/IO/OMFormat.hh>
|
||||
@@ -168,7 +169,9 @@ template <typename T> struct Enabler
|
||||
bool _OMWriter_::write_binary(std::ostream& _os, BaseExporter& _be,
|
||||
Options _opt) const
|
||||
{
|
||||
#ifndef DOXY_IGNORE_THIS
|
||||
Enabler<mostream> enabler(omlog());
|
||||
#endif
|
||||
|
||||
omlog() << "[OMWriter] : write binary file\n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user