Skip to content

Commit

Permalink
Compile fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jun 10, 2019
1 parent 0bd8df5 commit 0319476
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/qobjectuniqueptr.h
Expand Up @@ -21,6 +21,8 @@
#ifndef QOBJECTUNIQUEPTR_H
#define QOBJECTUNIQUEPTR_H

#define SIP_NO_FILE

#include <qsharedpointer.h>
#include <qtypeinfo.h>

Expand Down Expand Up @@ -142,7 +144,7 @@ class QObjectUniquePtr
* If it is not ``nullptr`` TRUE will be returned, if it is ``nullptr``
* FALSE will be returned.
*/
inline bool operator bool() const
inline operator bool() const
{
return !mPtr.isNull();
}
Expand Down

0 comments on commit 0319476

Please sign in to comment.