mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-24 05:18:59 -05:00
Fixing more memory leaks
This commit is contained in:
@@ -37,6 +37,7 @@ class SceneGraphNode;
|
||||
class SceneGraph {
|
||||
public:
|
||||
SceneGraph();
|
||||
~SceneGraph();
|
||||
|
||||
void clear();
|
||||
bool loadFromFile(const std::string& sceneDescription);
|
||||
@@ -52,7 +53,9 @@ public:
|
||||
|
||||
private:
|
||||
struct SceneGraphNodeInternal {
|
||||
SceneGraphNode* node;
|
||||
~SceneGraphNodeInternal();
|
||||
|
||||
SceneGraphNode* node = nullptr;
|
||||
// From nodes that are dependent on this one
|
||||
std::vector<SceneGraphNodeInternal*> incomingEdges;
|
||||
// To nodes that this node depends on
|
||||
|
||||
Reference in New Issue
Block a user