mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 00:58:39 +08:00
refactor: apply clang-format's InsertBraces rule
Formats code before InsertBraces rule is enabled. Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9d1da44e08
commit
54de14a9dc
@@ -18,8 +18,9 @@ namespace NEO {
|
||||
|
||||
OsLibrary *OsLibrary::load(const OsLibraryCreateProperties &properties) {
|
||||
auto ptr = new (std::nothrow) Linux::OsLibrary(properties);
|
||||
if (ptr == nullptr)
|
||||
if (ptr == nullptr) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
if (!ptr->isLoaded()) {
|
||||
delete ptr;
|
||||
|
||||
Reference in New Issue
Block a user