mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
refs #802 Fixed Clang warnings (Q_FUNC_INFO used outside function).
This commit is contained in:
committed by
Klaus Basan
parent
3ab121a593
commit
873b508943
@@ -41,6 +41,7 @@
|
||||
#include <QThread>
|
||||
#include <QVariant>
|
||||
#include <QtGlobal>
|
||||
#include <stdexcept>
|
||||
#include <cstddef>
|
||||
#include <tuple>
|
||||
#include <utility>
|
||||
@@ -446,8 +447,8 @@ namespace BlackMisc
|
||||
connectOnce(m_page->parent(), &QObject::objectNameChanged, [function](const QString &) { function(); });
|
||||
}
|
||||
|
||||
Private::CValuePage *m_page = (qFatal("Must be initialized"), nullptr); //!< \private
|
||||
Private::CValuePage::Element *m_element = (qFatal("Must be initialized"), nullptr); //!< \private
|
||||
Private::CValuePage *m_page = (throw std::logic_error("Uninitialized member"), nullptr); //!< \private
|
||||
Private::CValuePage::Element *m_element = (throw std::logic_error("Uninitialized member"), nullptr); //!< \private
|
||||
};
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user