Changeset 219 for cpp/frams/vm/classes


Ignore:
Timestamp:
04/07/14 02:52:56 (11 years ago)
Author:
Maciej Komosinski
Message:

Both subexpressions evaluate to the same type now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/vm/classes/genoobj.cpp

    r203 r219  
    129129if (vec && (vec->data.size()>=3))
    130130        {
    131         SString g=vec->get(0)?vec->get(0)->getString():"";
    132         SString n=vec->get(1)?vec->get(1)->getString():"";
    133         SString c=vec->get(2)?vec->get(2)->getString():"";
     131        SString g=vec->get(0)?vec->get(0)->getString():SString::empty();
     132        SString n=vec->get(1)?vec->get(1)->getString():SString::empty();
     133        SString c=vec->get(2)?vec->get(2)->getString():SString::empty();
    134134        *ret=makeDynamicObjectAndDecRef(new Geno(g,-1,n,c));
    135135        }
Note: See TracChangeset for help on using the changeset viewer.