Skip to content
Snippets Groups Projects
Commit 7961d63d authored by Fabian Reister's avatar Fabian Reister
Browse files

navigator: remotegui as optional

parent c8017d98
No related branches found
No related tags found
2 merge requests!46Feature/navigator human reader,!28Draft: Dev -> Main
This commit is part of merge request !46. Comments created here will be created in the context of that merge request.
......@@ -191,7 +191,7 @@ namespace armarx::navigation::components::navigator
// memoryIntrospector = server::MemoryIntrospector(resultsWriterPlugin->get(), );
navRemoteGui = std::make_unique<navigator::RemoteGui>(remoteGui, *this);
navRemoteGui.emplace(remoteGui, *this);
navRemoteGui->enable();
initialized = true;
......
......@@ -176,9 +176,7 @@ namespace armarx::navigation::components::navigator
std::mutex propertiesMutex;
// TODO maybe as optional, but requires some effort
std::unique_ptr<armarx::navigation::components::navigator::RemoteGui> navRemoteGui;
std::optional<armarx::navigation::components::navigator::RemoteGui> navRemoteGui;
// unique_ptr to avoid dangling refs
std::vector<std::unique_ptr<server::MemoryIntrospector>> memoryIntrospectors;
......
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