From bb2cc09f485847302066ad69e9e04443c3ba1616 Mon Sep 17 00:00:00 2001 From: Dimitar Krastev Date: Mon, 27 May 2024 22:19:57 +0300 Subject: [PATCH] Attempt to fix doxygen error. --- Pcap++/header/PcapLiveDeviceList.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Pcap++/header/PcapLiveDeviceList.h b/Pcap++/header/PcapLiveDeviceList.h index 415eddc930..afb908f7cc 100644 --- a/Pcap++/header/PcapLiveDeviceList.h +++ b/Pcap++/header/PcapLiveDeviceList.h @@ -9,10 +9,8 @@ /// @file -#ifndef PCPP_DEPRECATED_RAW_PTR_API -#define PCPP_DEPRECATED_RAW_PTR_API__LOCAL_DEFINE -#define PCPP_DEPRECATED_RAW_PTR_API PCPP_DEPRECATED("This method is deprecated in favor of the SmartPtrAPI overload.") -#endif // !PCPP_DEPRECATED_RAW_PTR_API +#define PCPP_DEPRECATED_RAW_PTR_API PCPP_DEPRECATED("This method is deprecated; " \ + "Use the SmartPtrAPI overloads instead.") /** * \namespace pcpp @@ -187,7 +185,4 @@ namespace pcpp } // namespace pcpp -#ifdef PCPP_DEPRECATED_RAW_PTR_API__LOCAL_DEFINE #undef PCPP_DEPRECATED_RAW_PTR_API -#undef PCPP_DEPRECATED_RAW_PTR_API__LOCAL_DEFINE -#endif // PCPP_DEPRECATED_RAW_PTR_API_LOCAL_DEFINE