Browse Source

MSVC 2015 compatibility: that thing wants to call destructor everywhere.

Otherwise it complains that we are deleting pointer to incomplete type.
But why? I'm calling the destructors only in the *.cpp file.
pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
2c16190942
  1. 11
      src/Magnum/DebugTools/ResourceManager.h

11
src/Magnum/DebugTools/ResourceManager.h

@ -37,6 +37,17 @@
#include "Magnum/SceneGraph/SceneGraph.h"
#include "Magnum/Shapes/Shapes.h"
/** @todo fix this better */
#ifdef CORRADE_MSVC2015_COMPATIBILITY
#include "Magnum/AbstractShaderProgram.h"
#include "Magnum/Buffer.h"
#include "Magnum/Mesh.h"
#include "Magnum/MeshView.h"
#include "Magnum/DebugTools/ForceRenderer.h"
#include "Magnum/DebugTools/ObjectRenderer.h"
#include "Magnum/DebugTools/ShapeRenderer.h"
#endif
namespace Magnum {
namespace DebugTools {

Loading…
Cancel
Save