Group: explicitly use the default destructor
This makes it more obvious that the default destructor is what we're using, instead of making it look like maybe there was supposed to be a destructor here.
This commit is contained in:
@@ -36,11 +36,6 @@ Group::Group() {
|
||||
m_sBannerPath = "";
|
||||
}
|
||||
|
||||
Group::~Group()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Group::Group(const RString& sDir, const RString& sGroupDirName, bool bFromProfile) {
|
||||
if (sDir.empty() || sGroupDirName.empty()) {
|
||||
LOG->Warn("Group::Group: Empty directory or group name provided.");
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ class Group
|
||||
public:
|
||||
Group();
|
||||
Group( const RString& sDir, const RString& sGroupDirName, bool bFromProfile = false);
|
||||
~Group();
|
||||
~Group() = default;
|
||||
// Lua
|
||||
void PushSelf( lua_State *L );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user