mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 21:42:53 +08:00
Remove superfluous const_casts
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
16d9000429
commit
53c127e64c
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2021 Intel Corporation
|
||||
* Copyright (C) 2021-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -15,7 +15,7 @@ void Wddm::setGmmInputArgs(void *args) {
|
||||
|
||||
gmmInArgs->stAdapterBDF = this->adapterBDF;
|
||||
gmmInArgs->ClientType = GMM_CLIENT::GMM_OCL_VISTA;
|
||||
gmmInArgs->DeviceRegistryPath = const_cast<char *>(deviceRegistryPath.c_str());
|
||||
gmmInArgs->DeviceRegistryPath = deviceRegistryPath.c_str();
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user