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:
@@ -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() */
|
||||
|
||||
Reference in New Issue
Block a user