1

Cleanup Service.h

This commit is contained in:
2022-12-08 21:13:35 +01:00
parent 8db18136c1
commit 4909f59f3d

View File

@ -2,6 +2,7 @@
#define CHURLOS_SERVICE_H #define CHURLOS_SERVICE_H
#include <cstdint> #include <cstdint>
#include "lib/util/RestrictedConstructors.h"
namespace Kernel { namespace Kernel {
@ -12,19 +13,11 @@ namespace Kernel {
*/ */
class Service { class Service {
public: public:
Service() = default; MakeDefault(Service)
// TODO: Macros for unmovable, uncopyable MakeUncopyable(Service)
Service(const Service &copy) = delete; MakeUnmovable(Service)
Service(Service &&move) = delete;
Service operator=(const Service &copy) = delete;
Service &operator=(Service &&move) = delete;
virtual ~Service() = default;
protected: protected:
/** /**