chore: unix/ArchDaemonUnix, use default for constructor and deconstructor

This commit is contained in:
sithlord48 2025-04-30 21:33:03 -04:00 committed by Nick Bolton
parent bd2188beb1
commit a52552b821
2 changed files with 2 additions and 12 deletions

View file

@ -21,16 +21,6 @@
// ArchDaemonUnix // ArchDaemonUnix
// //
ArchDaemonUnix::ArchDaemonUnix()
{
// do nothing
}
ArchDaemonUnix::~ArchDaemonUnix()
{
// do nothing
}
#ifdef __APPLE__ #ifdef __APPLE__
// In Mac OS X, fork()'d child processes can't use most APIs (the frameworks // In Mac OS X, fork()'d child processes can't use most APIs (the frameworks

View file

@ -16,8 +16,8 @@
class ArchDaemonUnix : public ArchDaemonNone class ArchDaemonUnix : public ArchDaemonNone
{ {
public: public:
ArchDaemonUnix(); ArchDaemonUnix() = default;
~ArchDaemonUnix() override; ~ArchDaemonUnix() override = default;
// IArchDaemon overrides // IArchDaemon overrides
int daemonize(const char *name, DaemonFunc func) override; int daemonize(const char *name, DaemonFunc func) override;