Changeset 128


Ignore:
Timestamp:
02/10/14 20:13:49 (11 years ago)
Author:
sz
Message:

warning: deprecated conversion from string constant to char*

File:
1 edited

Legend:

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

    r121 r128  
    4040SBuf::SBuf()
    4141{
    42 txt="";
     42txt=(char*)"";
    4343size=used=0;
    4444refcount=1;
     
    4949size=guessMemSize(initsize);
    5050if (size>0)     { txt=(char*)malloc(size+1); txt[0]=0; }
    51         else    txt="";
     51        else    txt=(char*)"";
    5252used=0;
    5353refcount=1;
     
    6161void SBuf::initEmpty()
    6262{
    63 txt="";
     63txt=(char*)"";
    6464used=size=0;
    6565refcount=1;
Note: See TracChangeset for help on using the changeset viewer.