From cb602663d02ef5818e7d58a5d697d374cb866f44 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Sat, 5 Jan 2008 12:16:07 +0100 Subject: [PATCH] WIP ... obviousely this will segfault And the lession is: class static variables and dynamic linking are dangerous --- tests/components/common/visitingtoolconcept.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/components/common/visitingtoolconcept.cpp b/tests/components/common/visitingtoolconcept.cpp index 6a6890934..dbccfe0b3 100644 --- a/tests/components/common/visitingtoolconcept.cpp +++ b/tests/components/common/visitingtoolconcept.cpp @@ -68,7 +68,7 @@ using std::cout; namespace cinelerra { - namespace visitor + namespace visitor_concept_draft { // ================================================================== Library ==== @@ -228,7 +228,7 @@ namespace cinelerra inline ReturnType forwardCall (TAR& target, TOOL& tool) { - // get concrete type via tool's VTable + // get concrete type via tool's VTable Tag index = tool.getTag(); return (*storedTrampoline(index)) (target, tool); } @@ -457,6 +457,6 @@ namespace cinelerra } // namespace test - } // namespace visitor + } // namespace visitor_concept_draft } // namespace cinelerra