Ignore:
Timestamp:
06/23/15 00:50:52 (10 years ago)
Author:
Maciej Komosinski
Message:

Fixed int/bool warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/util/sstring.h

    r385 r395  
    171171/// <B>pos</B> is moved accordingly.
    172172/// returns <B>false</B> if no more tokens are available or <B>true</B> otherwise.
    173 int getNextToken(int& pos,SString &token,char separator) const;
     173bool getNextToken(int& pos,SString &token,char separator) const;
    174174
    175175void operator+=(char ch) {directAppend(1)[0]=ch;endAppend(1);} ///< append single character
    176176
    177 int startsWith(const char *pattern) const;
     177bool startsWith(const char *pattern) const;
    178178char charAt(int pos) const {return buf->txt[pos];}
    179179uint32_t hash() const {return buf->hash();}
Note: See TracChangeset for help on using the changeset viewer.