Changeset 1596


Ignore:
Timestamp:
2000-10-10T16:25:33+13:00 (24 years ago)
Author:
jrm21
Message:

Fixed up appendcstr(const char *) in text_t.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/lib/text_t.h

    r1310 r1596  
    153153
    154154  // support for const null-terminated C string
    155   void appendcstr (const char *s);
     155  void appendcstr (const char *s) {appendcstr((char *)s);}
    156156  void setcstr (const char *s) {clear();appendcstr((char *) s);}
    157157  text_t &operator= (const char *s) {setcstr((char *) s);return *this;} // c string
Note: See TracChangeset for help on using the changeset viewer.