Skip to content

Commit

Permalink
fix for emscripten
Browse files Browse the repository at this point in the history
  • Loading branch information
fraguada committed Aug 7, 2024
1 parent a0a154b commit 381f912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bindings/bindings.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ void Append(BND_LIST& list, const T& value)
#if defined(ON_PYTHON_COMPILE)
list.append(value);
#else
const int count = list["length"].as<int>();
int count = list["length"].as<int>();
list.set(count++, value);
#endif
}
Expand Down

0 comments on commit 381f912

Please sign in to comment.