From ce5bb7f1c1e412fe7a9501c55e8f784a7f6dfa00 Mon Sep 17 00:00:00 2001 From: osuphobia Date: Sat, 8 Jun 2024 21:14:03 +0800 Subject: [PATCH] clang-tidy --- src/magic_enchantment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/magic_enchantment.cpp b/src/magic_enchantment.cpp index 43e0c6e2d7c5e..5af191d333a97 100644 --- a/src/magic_enchantment.cpp +++ b/src/magic_enchantment.cpp @@ -627,7 +627,7 @@ void enchant_cache::serialize( JsonOut &jsout ) const jsout.member( "prof_boost" ); jsout.start_array(); - for( const proficiency_category prof_cat : proficiency_category::get_all() ) { + for( const proficiency_category &prof_cat : proficiency_category::get_all() ) { proficiency_category_id prof_cat_id; jsout.start_object(); jsout.member( "value", prof_cat_id );