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:
Mateusz Jablonski
2023-10-05 12:10:01 +00:00
committed by Compute-Runtime-Automation
parent 712ba60452
commit 382fc952f2
8 changed files with 24 additions and 11 deletions

View File

@@ -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;