Skip to content

Commit 00247ca

Browse files
committed
default constructors in header
1 parent 976008e commit 00247ca

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

lib/sarifreport.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@
2525
#include <set>
2626
#include <sstream>
2727

28-
SarifReport::SarifReport() = default;
29-
SarifReport::~SarifReport() = default;
30-
3128
void SarifReport::addFinding(ErrorMessage msg)
3229
{
3330
mFindings.push_back(std::move(msg));

lib/sarifreport.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131

3232
class CPPCHECKLIB SarifReport {
3333
public:
34-
SarifReport();
35-
~SarifReport();
34+
SarifReport() = default;
35+
~SarifReport() = default;
3636

3737
void addFinding(ErrorMessage msg);
3838
std::string serialize(std::string productName) const;

0 commit comments

Comments
 (0)