Add missing constructors to Service.h
This commit is contained in:
@ -1,10 +1,25 @@
|
|||||||
#ifndef CHURLOS_SERVICE_H
|
#ifndef CHURLOS_SERVICE_H
|
||||||
#define CHURLOS_SERVICE_H
|
#define CHURLOS_SERVICE_H
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
namespace Kernel {
|
namespace Kernel {
|
||||||
|
|
||||||
class Service {
|
class Service {
|
||||||
|
public:
|
||||||
|
Service() = default;
|
||||||
|
|
||||||
|
// TODO: Macros for unmovable, uncopyable
|
||||||
|
|
||||||
|
Service(const Service ©) = delete;
|
||||||
|
|
||||||
|
Service(Service &&move) = delete;
|
||||||
|
|
||||||
|
Service operator=(const Service ©) = delete;
|
||||||
|
|
||||||
|
Service &operator=(Service &&move) = delete;
|
||||||
|
|
||||||
|
virtual ~Service() = default;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user