Commit cd2cff38 authored by Markus Mirz's avatar Markus Mirz
Browse files

fix for build without shmem support


Signed-off-by: Markus Mirz's avatarMarkus Mirz <mmirz@eonerc.rwth-aachen.de>
parent be81d8b3
......@@ -534,6 +534,7 @@ Complex Simulation::getComplexIdObjAttr(const String &comp, const String &attr)
}
void Simulation::exportIdObjAttr(const String &comp, const String &attr, UInt idx, AttributeBase::Modifier mod, UInt row, UInt col) {
#ifdef WITH_SHMEM
Bool found = false;
IdentifiedObject::Ptr compObj = mSystem.component<IdentifiedObject>(comp);
if (!compObj) compObj = mSystem.node<TopologicalNode>(comp);
......@@ -599,6 +600,7 @@ void Simulation::exportIdObjAttr(const String &comp, const String &attr, UInt id
else {
mLog->error("Component not found");
}
#endif
}
void Simulation::logIdObjAttr(const String &comp, const String &attr) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment