From ddb1fb4c3a0212ab0dd84431b2ed894c712cec64 Mon Sep 17 00:00:00 2001 From: patrick96 Date: Sun, 1 Apr 2018 01:59:14 +0200 Subject: [PATCH] log(mpd): Use __func__ instead of __FUNCTION__ --- src/adapters/mpd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adapters/mpd.cpp b/src/adapters/mpd.cpp index ff5b8bc9..a0dea88a 100644 --- a/src/adapters/mpd.cpp +++ b/src/adapters/mpd.cpp @@ -10,7 +10,7 @@ POLYBAR_NS -#define TRACE_BOOL(mode) m_log.trace("mpdconnection.%s: %s", __FUNCTION__, mode ? "true" : "false"); +#define TRACE_BOOL(mode) m_log.trace("mpdconnection.%s: %s", __func__, mode ? "true" : "false"); namespace mpd { sig_atomic_t g_connection_closed = 0;