Skip to content

Commit 02d37f8

Browse files
author
Joshua Hampp
committed
fixed typos in comments
Signed-off-by: Joshua Hampp <[email protected]>
1 parent bc035e1 commit 02d37f8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rclcpp/include/rclcpp/publisher_base.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ class PublisherBase : public std::enable_shared_from_this<PublisherBase>
218218
/// Return the lowest available capacity for all subscription buffers.
219219
/**
220220
* For intraprocess communication return the lowest buffer capacity for all subscriptions.
221-
* If intraprocess is disabled or no intraprocess subscriptions present return maximum of size_t.
222-
* On failure returns 0.
221+
* If intraprocess is disabled or no intraprocess subscriptions present, return maximum of size_t.
222+
* On failure return 0.
223223
* \return lowest buffer capacity for all subscriptions
224224
*/
225225
RCLCPP_PUBLIC

rclcpp/test/rclcpp/test_intra_process_manager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ TEST(TestIntraProcessManager, multiple_subscriptions_different_type) {
738738
- Creates 1 publisher.
739739
- The available buffer capacity should be at least history size.
740740
- Add 2 subscribers.
741-
Add everything to the intra-process manager.
741+
- Add everything to the intra-process manager.
742742
- All the entities are expected to have different ids.
743743
- Check the subscriptions count for the publisher.
744744
- The available buffer capacity should be the history size.

0 commit comments

Comments
 (0)