Skip to content

Commit 26366ac

Browse files
committed
cleanup
1 parent 9b0bc0a commit 26366ac

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/blackboard.cpp

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,7 @@ void Blackboard::createEntry(const std::string& key, const TypeInfo& info)
143143
{
144144
if(StartWith(key, '@'))
145145
{
146-
if(auto parent = parent_bb_.lock())
147-
{
148-
parent->createEntry(key, info);
149-
}
150-
else
151-
{
152-
createEntryImpl(key.substr(1, key.size() - 1), info);
153-
}
146+
rootBlackboard()->createEntryImpl(key.substr(1, key.size() - 1), info);
154147
}
155148
else
156149
{

0 commit comments

Comments
 (0)