Skip to content

Fix cpplint warnings - #64

Merged
esteve merged 1 commit into
masterfrom
cpplint
Nov 4, 2015
Merged

esteve merged 1 commit into
masterfrom
cpplint

Conversation

@esteve

@esteve esteve commented Nov 4, 2015

Copy link
Copy Markdown
Member

Fix cpplint warnings.

Connects to ros2/ros2#12

@esteve esteve added in progress Actively being worked on (Kanban column) in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Nov 4, 2015
@esteve esteve self-assigned this Nov 4, 2015
Comment thread test_rclcpp/test/test_allocator.cpp Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A void * should be statically casted - not reinterpreted.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That depends on the case, but here a static_cast is enough. Updated.

Comment thread test_rclcpp/test/test_allocator.cpp Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you wrap this after the comma?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@dirk-thomas

Copy link
Copy Markdown
Member

Beside the late comment: +1

esteve added a commit that referenced this pull request Nov 4, 2015
@esteve
esteve merged commit 6d8158b into master Nov 4, 2015
@esteve
esteve deleted the cpplint branch November 4, 2015 21:47
@esteve esteve removed the in review Waiting for review (Kanban column) label Nov 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants