mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 06:23:01 +08:00
Make EmbeddedStorageRegistry ctor protected
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
fa03aa9a40
commit
5a613405c6
@@ -111,14 +111,15 @@ struct EmbeddedStorageRegistry {
|
||||
|
||||
const BuiltinResourceT *get(const std::string &name) const;
|
||||
|
||||
EmbeddedStorageRegistry() {
|
||||
exists = true;
|
||||
}
|
||||
~EmbeddedStorageRegistry() {
|
||||
exists = false;
|
||||
}
|
||||
|
||||
private:
|
||||
protected:
|
||||
EmbeddedStorageRegistry() {
|
||||
exists = true;
|
||||
}
|
||||
|
||||
using ResourcesContainer = std::unordered_map<std::string, BuiltinResourceT>;
|
||||
ResourcesContainer resources;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user