Cleanup Service.h
This commit is contained in:
@ -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 ©) = delete;
|
MakeUnmovable(Service)
|
||||||
|
|
||||||
Service(Service &&move) = delete;
|
|
||||||
|
|
||||||
Service operator=(const Service ©) = delete;
|
|
||||||
|
|
||||||
Service &operator=(Service &&move) = delete;
|
|
||||||
|
|
||||||
virtual ~Service() = default;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user