QLogging: Fix unused static function warning
Detected by clang Change-Id: Ia7d1bf085d838d19319ee1060dcb3c0086a510e4 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
This commit is contained in:
parent
65a317e674
commit
9a73b7ac96
@ -254,7 +254,7 @@ Q_CORE_EXPORT bool qt_logging_to_console()
|
||||
\sa QMessageLogContext, qDebug(), qInfo(), qWarning(), qCritical(), qFatal()
|
||||
*/
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#if defined(Q_CC_MSVC) && defined(QT_DEBUG) && defined(_DEBUG) && defined(_CRT_ERROR)
|
||||
static inline void convert_to_wchar_t_elided(wchar_t *d, size_t space, const char *s) Q_DECL_NOEXCEPT
|
||||
{
|
||||
size_t len = qstrlen(s);
|
||||
|
Loading…
Reference in New Issue
Block a user