Skip to content

Commit

Permalink
fix #227
Browse files Browse the repository at this point in the history
  • Loading branch information
facontidavide committed Nov 22, 2022
1 parent 4ddc0b0 commit 758c4a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blackboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void Blackboard::setPortInfo(std::string key, const PortInfo& info)
else
{
auto old_type = it->second.port_info.type();
if (old_type && old_type != info.type())
if (old_type && *old_type != *info.type())
{
throw LogicError("Blackboard::set() failed: once declared, the type of a "
"port shall "
Expand Down

0 comments on commit 758c4a3

Please sign in to comment.