chore: unix/ArchDaemonUnix, use default for constructor and deconstructor
This commit is contained in:
parent
bd2188beb1
commit
a52552b821
2 changed files with 2 additions and 12 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue