mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 16:56:53 +08:00
suppressing various GCC warnings
This commit is contained in:
@@ -86,8 +86,16 @@ namespace BlackCore
|
||||
signals:
|
||||
void terminate();
|
||||
|
||||
public:
|
||||
//! Deletion policy for QScopedPointer
|
||||
struct VatlibQScopedPointerDeleter
|
||||
{
|
||||
//! Called by QScopedPointer destructor
|
||||
static void cleanup(Cvatlib_Network *net) { if (net) net->Destroy(); }
|
||||
};
|
||||
|
||||
private:
|
||||
QScopedPointer<Cvatlib_Network> m_net;
|
||||
QScopedPointer<Cvatlib_Network, VatlibQScopedPointerDeleter> m_net;
|
||||
Cvatlib_Network::connStatus m_status;
|
||||
|
||||
QBasicTimer m_timer;
|
||||
|
||||
Reference in New Issue
Block a user