Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
facontidavide committed May 20, 2024
1 parent 9b0bc0a commit 26366ac
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/blackboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,7 @@ void Blackboard::createEntry(const std::string& key, const TypeInfo& info)
{
if(StartWith(key, '@'))
{
if(auto parent = parent_bb_.lock())
{
parent->createEntry(key, info);
}
else
{
createEntryImpl(key.substr(1, key.size() - 1), info);
}
rootBlackboard()->createEntryImpl(key.substr(1, key.size() - 1), info);
}
else
{
Expand Down

0 comments on commit 26366ac

Please sign in to comment.