Changeset 128
- Timestamp:
- 02/10/14 20:13:49 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/util/sstring.cpp
r121 r128 40 40 SBuf::SBuf() 41 41 { 42 txt= "";42 txt=(char*)""; 43 43 size=used=0; 44 44 refcount=1; … … 49 49 size=guessMemSize(initsize); 50 50 if (size>0) { txt=(char*)malloc(size+1); txt[0]=0; } 51 else txt= "";51 else txt=(char*)""; 52 52 used=0; 53 53 refcount=1; … … 61 61 void SBuf::initEmpty() 62 62 { 63 txt= "";63 txt=(char*)""; 64 64 used=size=0; 65 65 refcount=1;
Note: See TracChangeset
for help on using the changeset viewer.