diff options
Diffstat (limited to 'src/corelib/global/qnativeinterface.h')
| -rw-r--r-- | src/corelib/global/qnativeinterface.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/corelib/global/qnativeinterface.h b/src/corelib/global/qnativeinterface.h index e634615260c..d009ec5340b 100644 --- a/src/corelib/global/qnativeinterface.h +++ b/src/corelib/global/qnativeinterface.h @@ -104,11 +104,10 @@ namespace QNativeInterface::Private { I *nativeInterface() const \ { \ using T = std::decay_t<decltype(*this)>; \ - using namespace QNativeInterface::Private; \ - static_assert(TypeInfo<I>::template isCompatibleWith<T>, \ + static_assert(QNativeInterface::Private::TypeInfo<I>::template isCompatibleWith<T>, \ "T::nativeInterface<I>() requires that native interface I is compatible with T"); \ \ - return static_cast<I*>(resolveInterface(this, typeid(I), TypeInfo<I>::revision())); \ + return static_cast<I*>(QNativeInterface::Private::resolveInterface(this, typeid(I), QNativeInterface::Private::TypeInfo<I>::revision())); \ } // Provides a definition for the interface destructor |
