Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: cpptoxml/parser/codemodel.h
- ===================================================================
- --- cpptoxml/parser/codemodel.h (revision 1107607)
- +++ cpptoxml/parser/codemodel.h (working copy)
- @@ -146,8 +146,8 @@
- void setArguments(const QList<TypeInfo> &arguments);
- void addArgument(const TypeInfo &arg) { m_arguments.append(arg); }
- - bool operator==(const TypeInfo &other);
- - bool operator!=(const TypeInfo &other) { return !(*this==other); }
- + const bool operator==(const TypeInfo &other);
- + const bool operator!=(const TypeInfo &other) { return !(*this==other); }
- // ### arrays and templates??
- Index: cpptoxml/parser/codemodel.cpp
- ===================================================================
- --- cpptoxml/parser/codemodel.cpp (revision 1107607)
- +++ cpptoxml/parser/codemodel.cpp (working copy)
- @@ -196,7 +196,7 @@
- return tmp;
- }
- -bool TypeInfo::operator==(const TypeInfo &other)
- +const bool TypeInfo::operator==(const TypeInfo &other)
- {
- if (arrayElements().count() != other.arrayElements().count())
- return false;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement