mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +08:00
build: remove not needed assignments to unique_ptr
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
83ef7d82aa
commit
cc591e849a
@@ -26,7 +26,7 @@ class EngineImp : public Engine, NEO::NonCopyableAndNonMovableClass {
|
||||
EngineImp(OsSysman *pOsSysman, zes_engine_group_t engineType, uint32_t engineInstance, uint32_t subDeviceId, ze_bool_t onSubdevice);
|
||||
~EngineImp() override;
|
||||
|
||||
std::unique_ptr<OsEngine> pOsEngine = nullptr;
|
||||
std::unique_ptr<OsEngine> pOsEngine;
|
||||
void init();
|
||||
|
||||
private:
|
||||
|
||||
@@ -26,7 +26,7 @@ class FirmwareImp : public Firmware, NEO::NonCopyableAndNonMovableClass {
|
||||
FirmwareImp() = default;
|
||||
FirmwareImp(OsSysman *pOsSysman, const std::string &fwType);
|
||||
~FirmwareImp() override;
|
||||
std::unique_ptr<OsFirmware> pOsFirmware = nullptr;
|
||||
std::unique_ptr<OsFirmware> pOsFirmware;
|
||||
std::string fwType = "Unknown";
|
||||
|
||||
void init();
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#include "level_zero/api/sysman/zes_handles_struct.h"
|
||||
#include <level_zero/zes_api.h>
|
||||
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <vector>
|
||||
|
||||
@@ -41,7 +42,7 @@ struct TemperatureHandleContext {
|
||||
void releaseTemperatureHandles();
|
||||
|
||||
OsSysman *pOsSysman = nullptr;
|
||||
std::vector<std::unique_ptr<Temperature>> handleList = {};
|
||||
std::vector<std::unique_ptr<Temperature>> handleList;
|
||||
|
||||
bool isTempInitDone() {
|
||||
return tempInitDone;
|
||||
|
||||
Reference in New Issue
Block a user