We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24beed8 commit e70fa68Copy full SHA for e70fa68
src/lib/cwe-name-lookup.cc
@@ -36,7 +36,6 @@ CweNameLookup::CweNameLookup():
36
37
CweNameLookup::~CweNameLookup()
38
{
39
- delete d;
40
}
41
42
bool CweNameLookup::handleLine(const TStringList &fields)
src/lib/cwe-name-lookup.hh
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright (C) 2020 Red Hat, Inc.
+ * Copyright (C) 2020-2023 Red Hat, Inc.
3
*
4
* This file is part of csdiff.
5
@@ -38,7 +38,7 @@ class CweNameLookup: public AbstractCsvParser {
private:
struct Private;
- Private *d;
+ std::unique_ptr<Private> d;
};
43
44
#endif /* H_GUARD_CWE_NAME_LOOKUP_H */
0 commit comments