Changeset 88 for osgVisual/src/object


Ignore:
Timestamp:
Jul 29, 2010, 8:39:55 AM (14 years ago)
Author:
Torben Dannhauer
Message:

Moved memory leak detection from source file to headerfile. Its still in the class but at least not in the source file.

The leak detection works, but the false positives are not stopped.
Use Linux/Valgrind? to make your final leak detection beyond the easy first approach in MSVC

Location:
osgVisual/src/object
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/src/object/object_updater.cpp

    r87 r88  
    2121object_updater::object_updater(osgVisual::visual_object* object_ )
    2222{
    23         #include <leakDetection.h>
    2423}
    2524
  • osgVisual/src/object/visual_object.cpp

    r87 r88  
    2121visual_object::visual_object( osg::CoordinateSystemNode* sceneRoot_, std::string nodeName_)
    2222{
    23         #include <leakDetection.h>
    24 
    2523        // Add this node to Scenegraph
    2624        sceneRoot_->addChild( this );
Note: See TracChangeset for help on using the changeset viewer.