Skip to content

Commit

Permalink
clang-tidy readability-non-const-parameter (CleverRaven#32835)
Browse files Browse the repository at this point in the history
* Enable readability-non-const-parameter

* Make a function parameter pointer-to-const
  • Loading branch information
jbytheway authored and ZhilkinSerg committed Aug 2, 2019
1 parent 87a487f commit 9cd8a08
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ readability-*,\
-readability-isolate-declaration,\
-readability-magic-numbers,\
-readability-named-parameter,\
-readability-non-const-parameter,\
-readability-container-size-empty,\
-readability-redundant-control-flow,\
-readability-redundant-declaration,\
Expand Down
2 changes: 1 addition & 1 deletion tests/behavior_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ extern fallback_t default_fallback;
extern sequential_until_done_t default_until_done;
} // namespace behavior

static behavior::node_t make_test_node( std::string goal, behavior::status_t *status )
static behavior::node_t make_test_node( std::string goal, const behavior::status_t *status )
{
behavior::node_t node;
if( !goal.empty() ) {
Expand Down

0 comments on commit 9cd8a08

Please sign in to comment.