Skip to content

Commit ea05a6e

Browse files
committed
fix
1 parent 392a72d commit ea05a6e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/guides/blackboard_reference.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ if(auto any_locked = getLockedPortContent("cloud"))
8787
{
8888
// the entry in the blackboard hasn't been initialized yet.
8989
}
90-
else if(auto cloud_ptr = any_locked->cast<std::shared_ptr<Pointcloud>>())
90+
else if(Pointcloud* cloud_ptr = any_locked->castPtr<Pointcloud>())
9191
{
92-
// Succesful cast to the original value.
93-
// Modify the pointcloud, referenced by cloud_ptr, here
92+
// Succesful cast to Pointcloud* (original type).
93+
// Modify the pointcloud instance, using cloud_ptr
9494
}
9595
}
9696
```

0 commit comments

Comments
 (0)