From 80ae3baed03916db4d38bb4b8844cde258a0abf6 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Wed, 21 Oct 2015 15:49:34 +0200 Subject: Q_UNIMPLEMENTED: remove explicit file, line and funcinfo information This information is already registered by the QMessageLogger ctor. Change-Id: Iac378777675f00ad5d07b938605484b1466aa5c5 Reviewed-by: Olivier Goffart (Woboq GmbH) Reviewed-by: Thiago Macieira --- src/corelib/global/qglobal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index db8c60831f..07a0b5e27a 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -760,7 +760,7 @@ inline T *q_check_ptr(T *p) { Q_CHECK_PTR(p); return p; } typedef void (*QFunctionPointer)(); #if !defined(Q_UNIMPLEMENTED) -# define Q_UNIMPLEMENTED() qWarning("%s:%d: %s: Unimplemented code.", __FILE__, __LINE__, Q_FUNC_INFO) +# define Q_UNIMPLEMENTED() qWarning("Unimplemented code.") #endif Q_DECL_CONSTEXPR static inline bool qFuzzyCompare(double p1, double p2) Q_REQUIRED_RESULT Q_DECL_UNUSED; -- cgit v1.2.3