Skip to content

Commit b5fddbb

Browse files
authored
Fix compile error on macOS (#55085)
1 parent b175519 commit b5fddbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/widget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ void widget::load( const JsonObject &jo, const std::string & )
392392

393393
if( jo.has_array( "bodyparts" ) ) {
394394
_bps.clear();
395-
for( const JsonValue &val : jo.get_array( "bodyparts" ) ) {
395+
for( const JsonValue val : jo.get_array( "bodyparts" ) ) {
396396
if( !val.test_string() ) {
397397
jo.throw_error( "Invalid string value in bodyparts array", "bodyparts" );
398398
continue;

0 commit comments

Comments
 (0)