summaryrefslogtreecommitdiff
path: root/tools/xmlpatterns/main.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-07-18 09:49:25 +0300
committerMarc Mutz <marc.mutz@kdab.com>2016-07-19 08:26:18 +0000
commitc0b6fbcadbefcc8a91e5db7fd98662dddcd7a0f8 (patch)
treec8b8f0fc1270cf0382e2aa26cb3677ba6d764234 /tools/xmlpatterns/main.cpp
parent72ba369a115d97f707cbe6131d8daa751dc5b355 (diff)
downloadqtxmlpatterns-c0b6fbcadbefcc8a91e5db7fd98662dddcd7a0f8.tar.gz
QXmlQuery: fix smart pointer type
m_resourceLoader is a QExplicitlySharedPointer<DeviceResourceLoader>, and ResourceDelegator inherits DeviceResourceLoader, but the newly-allocated object was constructed into a QExplicitlySharedPointer<ResourceLoader>. Benign, but wrong. Found while trying to compile the module without QT_ENABLE_QEXPLICITLYSHAREDDATAPOINTER_STATICCAST. Change-Id: I6f0e7bd50488ae6db6ab6c7022503332cd8523f1 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'tools/xmlpatterns/main.cpp')
0 files changed, 0 insertions, 0 deletions