1
0
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:
david
2011-09-15 18:41:46 +00:00
parent 8b01344caf
commit 4e75c3f349

View File

@@ -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 {