Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Mar 26th, 2010  |  syntax: None  |  size: 0.48 KB  |  hits: 112  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Index: cpptoxml/parser/declarator_compiler.cpp
  2. ===================================================================
  3. --- cpptoxml/parser/declarator_compiler.cpp     (revision 1107607)
  4. +++ cpptoxml/parser/declarator_compiler.cpp     (working copy)
  5. @@ -141,7 +141,7 @@
  6.  
  7.  
  8.        for (int i=0; i<list.size(); ++i) {
  9. -          if (!list.at(i).startsWith("#"))
  10. +          if (!list.at(i).startsWith(QLatin1String("#")))
  11.                p.defaultValueExpression += list.at(i).trimmed();
  12.        }