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 = "";
|
m_sBannerPath = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
Group::~Group()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
Group::Group(const RString& sDir, const RString& sGroupDirName, bool bFromProfile) {
|
Group::Group(const RString& sDir, const RString& sGroupDirName, bool bFromProfile) {
|
||||||
if (sDir.empty() || sGroupDirName.empty()) {
|
if (sDir.empty() || sGroupDirName.empty()) {
|
||||||
LOG->Warn("Group::Group: Empty directory or group name provided.");
|
LOG->Warn("Group::Group: Empty directory or group name provided.");
|
||||||
|
|||||||
+1
-1
@@ -20,7 +20,7 @@ class Group
|
|||||||
public:
|
public:
|
||||||
Group();
|
Group();
|
||||||
Group( const RString& sDir, const RString& sGroupDirName, bool bFromProfile = false);
|
Group( const RString& sDir, const RString& sGroupDirName, bool bFromProfile = false);
|
||||||
~Group();
|
~Group() = default;
|
||||||
// Lua
|
// Lua
|
||||||
void PushSelf( lua_State *L );
|
void PushSelf( lua_State *L );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user