From cd44cfd4d5d97b27d86eb7f35962974d594283fd Mon Sep 17 00:00:00 2001 From: Wyatt Hepler Date: Thu, 2 Jun 2022 12:04:30 -0700 Subject: [PATCH] pw_assert: Require pw_assert CHECK backends to use the new header Both backend header names were supported temporarily to avoid breaking downstream projects. Change-Id: Ic271bebe536b5a4689175b8f3e226fc97c9ec0be Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/96760 Commit-Queue: Wyatt Hepler Pigweed-Auto-Submit: Wyatt Hepler Reviewed-by: Ewout van Bekkum --- pw_assert/public/pw_assert/check.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pw_assert/public/pw_assert/check.h b/pw_assert/public/pw_assert/check.h index 7c0a276dcd..57b4437908 100644 --- a/pw_assert/public/pw_assert/check.h +++ b/pw_assert/public/pw_assert/check.h @@ -111,12 +111,4 @@ // Note that for the assert failures, the handler should assume the assert // has already failed (the facade checks the condition before delegating). // - -// Temporarily check for the presence of the new header for backwards -// compatibilty. This will be removed once users migrate. -#if __has_include("pw_assert_backend/check_backend.h") #include "pw_assert_backend/check_backend.h" -#else -// If the new header doesn't exist, use the old header. -#include "pw_assert_backend/assert_backend.h" -#endif // __has_include("pw_assert_backend/check_backend.h")