From bc12687906efff3f02a78ba4bebd7d0441136a91 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Wed, 2 Nov 2022 17:30:36 +0100 Subject: [PATCH] Undefine LIBDBUS_FUNCTIONS at the end of .cpp file To avoid leaking macros. --- src/common/notifications.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/notifications.cpp b/src/common/notifications.cpp index 5097d4ed..aacbc0f3 100644 --- a/src/common/notifications.cpp +++ b/src/common/notifications.cpp @@ -227,3 +227,5 @@ bool send_notification(const std::string& title, return result; } + +#undef LIBDBUS_FUNCTIONS