Advertisement
Guest User

Untitled

a guest
Mar 26th, 2010
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. Index: cpptoxml/parser/codemodel.h
  2. ===================================================================
  3. --- cpptoxml/parser/codemodel.h (revision 1107607)
  4. +++ cpptoxml/parser/codemodel.h (working copy)
  5. @@ -146,8 +146,8 @@
  6. void setArguments(const QList<TypeInfo> &arguments);
  7. void addArgument(const TypeInfo &arg) { m_arguments.append(arg); }
  8.  
  9. - bool operator==(const TypeInfo &other);
  10. - bool operator!=(const TypeInfo &other) { return !(*this==other); }
  11. + const bool operator==(const TypeInfo &other);
  12. + const bool operator!=(const TypeInfo &other) { return !(*this==other); }
  13.  
  14. // ### arrays and templates??
  15.  
  16. Index: cpptoxml/parser/codemodel.cpp
  17. ===================================================================
  18. --- cpptoxml/parser/codemodel.cpp (revision 1107607)
  19. +++ cpptoxml/parser/codemodel.cpp (working copy)
  20. @@ -196,7 +196,7 @@
  21. return tmp;
  22. }
  23.  
  24. -bool TypeInfo::operator==(const TypeInfo &other)
  25. +const bool TypeInfo::operator==(const TypeInfo &other)
  26. {
  27. if (arrayElements().count() != other.arrayElements().count())
  28. return false;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement