Coverity PW.MISSING_TYPE_SPECIFIER - CID 10681

Bug #942661 reported by Product Strategy Coverity Bug Uploader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Qt bindings for libdee
New
Undecided
Unassigned

Bug Description

This bug is exported from the Coverity Integration Manager on Canonical's servers. For information on how this is done please see this website: https://wiki.ubuntu.com/CanonicalProductStrategy/Coverity
CID: 10681
Checker: PW.MISSING_TYPE_SPECIFIER
Category: No category available
CWE definition: No definition available
File: /usr/include/qt4/QtCore/qstring.h
Function: No function name available
Code snippet:
1195
1196 inline QStringRef::QStringRef(const QString *aString, int aPosition, int aSize)
1197 :m_string(aString), m_position(aPosition), m_size(aSize){}
1198
CID 10681 - PW.MISSING_TYPE_SPECIFIER
explicit type is missing ("int" assumed)
During compilation of file '/tmp/buildd/libqtdee-0.2.4/deelistmodel.cpp'
1199 inline QStringRef::QStringRef(const QString *aString)
1200 :m_string(aString), m_position(0), m_size(aString?aString->size() : 0){}
1201
1202 Q_CORE_EXPORT bool operator==(const QStringRef &s1,const QStringRef &s2);
1203 inline bool operator!=(const QStringRef &s1,const QStringRef &s2)
1204 { return !(s1 == s2); }

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.