Skip to content

Commit

Permalink
Fix clang-tidy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroInternalReflection committed Mar 4, 2024
1 parent a0fc3dd commit efeb1e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/character.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7336,7 +7336,7 @@ bool Character::invoke_item( item *used, const std::string &method, const tripoi
add_msg_if_player( m_info, string_format( "Attempting to eat %s", actually_used->display_name() ) );
assign_activity( consume_activity_actor( item_location( *this, actually_used ) ) );
// If the character isn't eating, then invoking the item failed somewhere
return ( !activity.is_null() );
return !activity.is_null();
}

std::optional<int> charges_used = actually_used->type->invoke( this, *actually_used,
Expand Down
4 changes: 2 additions & 2 deletions tests/eoc_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ effect_on_condition_EOC_martial_art_test_1( "EOC_martial_art_test_1" );
static const effect_on_condition_id
effect_on_condition_EOC_martial_art_test_2( "EOC_martial_art_test_2" );
static const effect_on_condition_id
effect_on_condition_EOC_math_addiction_setup( "EOC_math_addiction_setup" );
static const effect_on_condition_id
effect_on_condition_EOC_math_addiction_check( "EOC_math_addiction_check" );
static const effect_on_condition_id
effect_on_condition_EOC_math_addiction_setup( "EOC_math_addiction_setup" );
static const effect_on_condition_id
effect_on_condition_EOC_math_armor( "EOC_math_armor" );
static const effect_on_condition_id
effect_on_condition_EOC_math_diag_assign( "EOC_math_diag_assign" );
Expand Down

0 comments on commit efeb1e4

Please sign in to comment.