mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Suppressing Undesired Diagnostics
Change-Id: Ifd0c096c0e2d62132b55b399ef90cc98fe3f8d03 Signed-off-by: Daria Hinz <daria.hinz@intel.com>
This commit is contained in:
@@ -111,7 +111,7 @@ TEST(unique_ptr_if_unused, IntializedWithoutCustomDeleterAtDestructionUsesDefaul
|
||||
TEST(unique_ptr_if_unused, IntializedWithCustomDeleterAtDestructionUsesCustomDeleter) {
|
||||
struct CustomDeleterTestStruct {
|
||||
bool customDeleterWasCalled;
|
||||
static void Delete(CustomDeleterTestStruct *ptr) {
|
||||
static void Delete(CustomDeleterTestStruct *ptr) { // NOLINT(readability-identifier-naming)
|
||||
ptr->customDeleterWasCalled = true;
|
||||
}
|
||||
} customDeleterObj;
|
||||
@@ -130,7 +130,7 @@ TEST(unique_ptr_if_unused, IntializedWithDerivativeOfReferenceCounterAtDestructi
|
||||
}
|
||||
|
||||
bool obtainedDeleterWasCalled;
|
||||
static void Delete(ObtainedDeleterTestStruct *ptr) {
|
||||
static void Delete(ObtainedDeleterTestStruct *ptr) { // NOLINT(readability-identifier-naming)
|
||||
ptr->obtainedDeleterWasCalled = true;
|
||||
}
|
||||
} obtainedDeleterObj;
|
||||
|
||||
Reference in New Issue
Block a user