Skip to content

Commit

Permalink
docs(contributing): use the appropriate format
Browse files Browse the repository at this point in the history
Signed-off-by: Shin-kyoto <58775300+Shin-kyoto@users.noreply.github.com>
  • Loading branch information
Shin-kyoto committed Aug 20, 2024
1 parent 9f515d4 commit 7f812d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/contributing/coding-guidelines/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ As a basic rule, follow [the Google C++ Style Guide](https://google.github.io/st
- When using `mutex`, use `std::lock_guard` instead of `std::lock` and `std::unlock`.
- cf. [C++ Core Guidelines, RAII](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rr-raii)
- Use assert to validate that function arguments and return values meet specific conditions or expectations.
- Be cautious when using `throw`. C++ exceptions should only be used when it's acceptable for the process to terminate if uncaught. This applies to scenarios where Autoware has no other choice but to shut down.
- Be cautious when using `throw`. C++ exceptions should only be used when it is acceptable for the process to terminate if uncaught. This applies to scenarios where Autoware has no other choice but to shut down.
- cf. [Google C++ Style Guide, Exceptions](https://google.github.io/styleguide/cppguide.html#Exceptions)

## ROS 2 Style Guide
Expand Down

0 comments on commit 7f812d7

Please sign in to comment.