mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-27 20:52:17 +00:00
clang-tidy modernize-use-auto
This commit is contained in:
1 parent
cdbeb24a05
commit
60da544d3a
87 files changed
+1465
-1340
No files matched your search
+1
-1
@@ -703,7 +703,7 @@ void Client::SendDisciplineTimer(uint32 timer_id, uint32 duration)
|
||||
{
|
||||
if (timer_id < MAX_DISCIPLINE_TIMERS)
|
||||
{
|
||||
EQApplicationPacket *outapp = new EQApplicationPacket(OP_DisciplineTimer, sizeof(DisciplineTimer_Struct));
|
||||
auto outapp = new EQApplicationPacket(OP_DisciplineTimer, sizeof(DisciplineTimer_Struct));
|
||||
DisciplineTimer_Struct *dts = (DisciplineTimer_Struct *)outapp->pBuffer;
|
||||
dts->TimerID = timer_id;
|
||||
dts->Duration = duration;
|
||||
|
||||
Reference in new issue
Block a user