Skip to content
Snippets Groups Projects
Commit 2eb3369f authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Fix FunctionalVisitor

parent fae88f38
No related branches found
No related tags found
1 merge request!171Periodic merge of armem/dev into master
......@@ -9,4 +9,15 @@
namespace armarx::armem::wm
{
FunctionalVisitor::FunctionalVisitor()
{
}
FunctionalVisitor::~FunctionalVisitor()
{
}
}
......@@ -19,6 +19,7 @@ namespace armarx::armem::wm
FunctionalVisitor();
virtual ~FunctionalVisitor() override;
bool visitEnter(Memory& memory) override
{
return memoryFn ? memoryFn(memory) : Visitor::visitEnter(memory);
......@@ -49,13 +50,6 @@ namespace armarx::armem::wm
// Const versions
bool applyTo(const Memory& memory);
bool applyTo(const CoreSegment& coreSegment);
bool applyTo(const ProviderSegment& providerSegment);
bool applyTo(const Entity& entity);
bool applyTo(const EntitySnapshot& snapshot);
bool applyTo(const EntityInstance& instance);
bool visitEnter(const Memory& memory) override
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment