[Cleanup] Use default ctor instead of an empty ctor. (#3206)

# Notes
- Use `= default;` instead of an empty ctor.
- https://pvs-studio.com/en/docs/warnings/v832/
This commit is contained in:
Alex King authored and GitHub committed 2023-04-05 12:14:22 -04:00
1 parent 93b3f97f24
commit ef411ee154
2 files changed
+1 -4

No files matched your search

-3
View File
@@ -23,9 +23,6 @@
EQDB EQDB::s_EQDB;
EQDB::EQDB() {
}
unsigned int EQDB::field_count() {
return mysql_field_count(mysql_ref);
}
+1 -1
View File
@@ -27,7 +27,7 @@
//this is the main object exported to perl.
class EQDB {
EQDB();
EQDB() = default;
public:
static EQDB *Singleton() { return(&s_EQDB); }