Remove superfluous const_casts

Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
This commit is contained in:
Patryk Wrobel
2022-09-06 10:39:00 +00:00
committed by Compute-Runtime-Automation
parent 16d9000429
commit 53c127e64c
14 changed files with 32 additions and 32 deletions

View File

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