mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 12:41:30 +00:00
[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:
parent
93b3f97f24
commit
ef411ee154
@ -23,9 +23,6 @@
|
||||
|
||||
EQDB EQDB::s_EQDB;
|
||||
|
||||
EQDB::EQDB() {
|
||||
}
|
||||
|
||||
unsigned int EQDB::field_count() {
|
||||
return mysql_field_count(mysql_ref);
|
||||
}
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
|
||||
//this is the main object exported to perl.
|
||||
class EQDB {
|
||||
EQDB();
|
||||
EQDB() = default;
|
||||
public:
|
||||
static EQDB *Singleton() { return(&s_EQDB); }
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user