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

Fix ID check

parent 8d78c38a
No related branches found
No related tags found
3 merge requests!192Fix bugs in ArMem and make disk loading and storing nicer,!190ArMem: Revice get/find interface,!188ArMem Updates
......@@ -35,9 +35,9 @@ namespace armarx::armem::base
void detail::checkHasProviderSegmentName(const MemoryID& providerSegmentID)
{
if (not providerSegmentID.hasEntityName())
if (not providerSegmentID.hasProviderSegmentName())
{
throw armem::error::InvalidMemoryID(providerSegmentID, "Provider Segment ID has no provider segment name.");
throw armem::error::InvalidMemoryID(providerSegmentID, "Provider segment ID has no provider segment name.");
}
}
......@@ -46,7 +46,7 @@ namespace armarx::armem::base
{
if (not coreSegmentID.hasCoreSegmentName())
{
throw armem::error::InvalidMemoryID(coreSegmentID, "Core Segment ID has no core segment name.");
throw armem::error::InvalidMemoryID(coreSegmentID, "Core segment ID has no core segment name.");
}
}
......
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