From 132d6db79537d5ebc7244bd7dc8c1b3530c61337 Mon Sep 17 00:00:00 2001 From: Jeff Tung <100387939+jtung-apple@users.noreply.github.com> Date: Wed, 24 Aug 2022 08:38:53 -0700 Subject: [PATCH] restyled --- src/system/SystemPacketBuffer.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/system/SystemPacketBuffer.cpp b/src/system/SystemPacketBuffer.cpp index c4904a8c968f5c..f47a54278433e2 100644 --- a/src/system/SystemPacketBuffer.cpp +++ b/src/system/SystemPacketBuffer.cpp @@ -42,11 +42,11 @@ #include #include +#include #include #include #include #include -#include #if CHIP_SYSTEM_CONFIG_USE_LWIP #include @@ -432,7 +432,8 @@ void PacketBuffer::AddRef() pbuf_ref(this); #else // !CHIP_SYSTEM_CONFIG_USE_LWIP LOCK_BUF_POOL(); - VerifyOrDieWithMsg(this->ref < std::numeric_limitsref)>::max(), chipSystemLayer, "packet buffer refcount overflow"); + VerifyOrDieWithMsg(this->ref < std::numeric_limitsref)>::max(), chipSystemLayer, + "packet buffer refcount overflow"); ++this->ref; UNLOCK_BUF_POOL(); #endif // !CHIP_SYSTEM_CONFIG_USE_LWIP