Please note that active projects have migrated to https://github.com/fawkesrobotics.

robot-memory: fix include circular dependency
authorTim Niemueller <niemueller@kbsg.rwth-aachen.de>
Tue, 29 May 2018 18:51:34 +0000 (20:51 +0200)
committerTim Niemueller <niemueller@kbsg.rwth-aachen.de>
Tue, 29 May 2018 18:51:34 +0000 (20:51 +0200)
The aspect header includes robot_memory.h, which in turn included the
interface header. This lead to failed parallel builds.

There is some more cleanup needed, but this fixes the most pressing
issue.

src/plugins/robot-memory/robot_memory.cpp
src/plugins/robot-memory/robot_memory.h

index d361685..37d48f0 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <core/threading/mutex.h>
 #include <core/threading/mutex_locker.h>
+#include <interfaces/RobotMemoryInterface.h>
 #include <utils/misc/string_conversions.h>
 #include <utils/misc/string_split.h>
 #include <utils/system/hostinfo.h>
index ffc217a..b9fd8a1 100644 (file)
@@ -30,7 +30,6 @@
 #include <vector>
 
 #include <mongo/client/dbclient.h>
-#include "interfaces/RobotMemoryInterface.h"
 #include "event_trigger_manager.h"
 #include "computables/computables_manager.h"