Simplify and format code.

Change-Id: I12bda7a76ddb377f684bfed1ef4e0f5c2ace6b0c
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
This commit is contained in:
Piotr Fusik
2019-04-10 11:51:45 +02:00
committed by sys_ocldev
parent 7bd129f15c
commit 20985f426e
2 changed files with 37 additions and 40 deletions

View File

@@ -27,7 +27,7 @@ bool DeviceFactory::getDevices(HardwareInfo **pHWInfos, size_t &numDevices, Exec
numDevices = 0;
auto hardwareInfo = std::make_unique<HardwareInfo>();
std::unique_ptr<Wddm> wddm(Wddm ::createWddm());
std::unique_ptr<Wddm> wddm(Wddm::createWddm());
if (!wddm->enumAdapters(*hardwareInfo)) {
return false;
}