clang-tidy modernize-use-auto

This commit is contained in:
Michael Cook (mackal) committed 2016-05-25 16:10:28 -04:00
1 parent cdbeb24a05
commit 60da544d3a
87 files changed
+1465 -1340

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ EQStreamIdentifier::~EQStreamIdentifier() {
}
void EQStreamIdentifier::RegisterPatch(const EQStream::Signature &sig, const char *name, OpcodeManager ** opcodes, const StructStrategy *structs) {
Patch *p = new Patch;
auto p = new Patch;
p->signature = sig;
p->name = name;
p->opcodes = opcodes;