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

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

View file

@ -35,16 +35,6 @@
// ArchSleepUnix // ArchSleepUnix
// //
ArchSleepUnix::ArchSleepUnix()
{
// do nothing
}
ArchSleepUnix::~ArchSleepUnix()
{
// do nothing
}
void ArchSleepUnix::sleep(double timeout) void ArchSleepUnix::sleep(double timeout)
{ {
ARCH->testCancelThread(); ARCH->testCancelThread();

View file

@ -15,8 +15,8 @@
class ArchSleepUnix : public IArchSleep class ArchSleepUnix : public IArchSleep
{ {
public: public:
ArchSleepUnix(); ArchSleepUnix() = default;
~ArchSleepUnix() override; ~ArchSleepUnix() override = default;
// IArchSleep overrides // IArchSleep overrides
void sleep(double timeout) override; void sleep(double timeout) override;