mirror of
https://github.com/nmap/nmap.git
synced 2026-01-09 16:09:03 +00:00
Remove the constructor from OS_Classification.
This is not needed not because cpe is not a simple pointer, and I want to be able to initialize this with curly brackets like a struct.
This commit is contained in:
@@ -167,13 +167,6 @@ struct OS_Classification {
|
||||
const char *OS_Generation; /* Can be NULL if unclassified */
|
||||
const char *Device_Type;
|
||||
std::vector<const char *> cpe;
|
||||
|
||||
OS_Classification() {
|
||||
OS_Vendor = NULL;
|
||||
OS_Family = NULL;
|
||||
OS_Generation = NULL;
|
||||
Device_Type = NULL;
|
||||
}
|
||||
};
|
||||
|
||||
struct FingerTest {
|
||||
|
||||
Reference in New Issue
Block a user