1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Const-ify a few things, add a copy constructor

This commit is contained in:
dmiller
2022-12-02 21:57:29 +00:00
parent 7dcca32ff1
commit d113e08de1
2 changed files with 7 additions and 6 deletions

View File

@@ -642,7 +642,7 @@ const char *FingerTest::getAValName(u8 index) const {
return def->Attrs.at(index).name;
}
const char *FingerTest::getAVal(const char *attr) {
const char *FingerTest::getAVal(const char *attr) const {
if (!results)
return NULL;