mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-31 09:05:24 +00:00
refactor: expand AUTO_VAR macro
This commit is contained in:
@@ -87,7 +87,7 @@ void SetPlayerTeamPacket::write(DataOutputStream* dos) {
|
||||
method == METHOD_LEAVE) {
|
||||
dos->writeShort(players.size());
|
||||
|
||||
for (AUTO_VAR(it, players.begin()); it != players.end(); ++it) {
|
||||
for (auto it = players.begin(); it != players.end(); ++it) {
|
||||
writeUtf(*it, dos);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user