Skip to content

Commit ed9732d

Browse files
committed
fix: Fix compile error when gcc
1 parent ad3cfc2 commit ed9732d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java-entity.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2515,7 +2515,7 @@ class Entity::Impl {
25152515
};
25162516
}
25172517

2518-
static Behavior Definitions(std::list<std::u8string> defs) {
2518+
static Behavior Definitions(std::initializer_list<std::u8string> defs) {
25192519
return [=](CompoundTag &c, CompoundTag const &tag, ConverterContext &) {
25202520
for (std::u8string const &def : defs) {
25212521
AddDefinition(c, def);

0 commit comments

Comments
 (0)