mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Use std::vector::clear() instead of empty() to clear a list
This commit is contained in:
parent
f6ab7a898a
commit
72fba4be5d
1 changed files with 2 additions and 2 deletions
|
|
@ -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() */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue