Refactor services into classes (#183)
This commit is contained in:
committed by
GitHub
parent
bb7e79886f
commit
3be251d8fb
@@ -8,11 +8,11 @@ class ServiceInstancePaths final : public Paths {
|
||||
|
||||
private:
|
||||
|
||||
const ServiceManifest& manifest;
|
||||
std::shared_ptr<const ServiceManifest> manifest;
|
||||
|
||||
public:
|
||||
|
||||
explicit ServiceInstancePaths(const ServiceManifest& manifest) : manifest(manifest) {}
|
||||
explicit ServiceInstancePaths(std::shared_ptr<const ServiceManifest> manifest) : manifest(std::move(manifest)) {}
|
||||
~ServiceInstancePaths() final = default;
|
||||
|
||||
std::string getDataDirectory() const final;
|
||||
|
||||
Reference in New Issue
Block a user