chore: ArchDaemonNone, use deault for empty deconstructor

use default for empty constructor
add comment for empty overrides from base class
This commit is contained in:
sithlord48 2025-04-30 18:23:46 -04:00 committed by Nick Bolton
parent d7174a3a2f
commit 95586c88fd
2 changed files with 4 additions and 12 deletions

View file

@ -11,16 +11,6 @@
// ArchDaemonNone // ArchDaemonNone
// //
ArchDaemonNone::ArchDaemonNone()
{
// do nothing
}
ArchDaemonNone::~ArchDaemonNone()
{
// do nothing
}
void ArchDaemonNone::installDaemon(const char *, const char *, const char *, const char *, const char *) void ArchDaemonNone::installDaemon(const char *, const char *, const char *, const char *, const char *)
{ {
// do nothing // do nothing
@ -50,10 +40,12 @@ bool ArchDaemonNone::isDaemonInstalled(const char *)
void ArchDaemonNone::installDaemon() void ArchDaemonNone::installDaemon()
{ {
// do nothing
} }
void ArchDaemonNone::uninstallDaemon() void ArchDaemonNone::uninstallDaemon()
{ {
// do nothing
} }
std::string ArchDaemonNone::commandLine() const std::string ArchDaemonNone::commandLine() const

View file

@ -21,8 +21,8 @@ function and returns its result.
class ArchDaemonNone : public IArchDaemon class ArchDaemonNone : public IArchDaemon
{ {
public: public:
ArchDaemonNone(); ArchDaemonNone() = default;
~ArchDaemonNone() override; ~ArchDaemonNone() override = default;
// IArchDaemon overrides // IArchDaemon overrides
void installDaemon( void installDaemon(