1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-08 15:39:05 +00:00

Use std::vector::clear() instead of empty() to clear a list

This commit is contained in:
dmiller
2019-11-22 17:51:54 +00:00
parent f6ab7a898a
commit 72fba4be5d

View File

@@ -617,6 +617,6 @@ bool NEPContext::isDuplicateFieldSpec(u8 test_field){
* with clients that send multiple NEP_PACKET_SPEC messages, so only the last
* PacketSpec is taken into account. */
int NEPContext::resetClientFieldSpecs(){
this->fspecs.empty();
this->fspecs.clear();
return OP_SUCCESS;
} /* End of resetClientFieldSpecs() */
} /* End of resetClientFieldSpecs() */