mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-31 20:13:04 +08:00
refactor: add NonAssignableClass to define classes without assign operator
Related-To: NEO-9038 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
712ba60452
commit
382fc952f2
@@ -8,6 +8,7 @@
|
||||
#pragma once
|
||||
#include "shared/source/built_ins/sip_kernel_type.h"
|
||||
#include "shared/source/helpers/affinity_mask.h"
|
||||
#include "shared/source/helpers/non_copyable_or_moveable.h"
|
||||
#include "shared/source/helpers/options.h"
|
||||
|
||||
#include <functional>
|
||||
@@ -43,13 +44,12 @@ class ReleaseHelper;
|
||||
struct AllocationProperties;
|
||||
struct HardwareInfo;
|
||||
|
||||
struct RootDeviceEnvironment {
|
||||
struct RootDeviceEnvironment : NonCopyableClass {
|
||||
protected:
|
||||
std::unique_ptr<HardwareInfo> hwInfo;
|
||||
|
||||
public:
|
||||
RootDeviceEnvironment(ExecutionEnvironment &executionEnvironment);
|
||||
RootDeviceEnvironment(RootDeviceEnvironment &) = delete;
|
||||
MOCKABLE_VIRTUAL ~RootDeviceEnvironment();
|
||||
|
||||
MOCKABLE_VIRTUAL const HardwareInfo *getHardwareInfo() const;
|
||||
|
||||
Reference in New Issue
Block a user