Ignore:
Timestamp:
04/09/15 23:51:28 (9 years ago)
Author:
Maciej Komosinski
Message:
  • explicit c_str() in SString instead of (const char*) cast
  • genetic converters and GenMan? are now thread-local which enables multi-threaded simulator separation
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/_demos/serial_test.cpp

    r319 r348  
    6060                                {
    6161                                printIndent(indent+3);
    62                                 printf("key \"%s\"\n",(const char*)it->key);
     62                                printf("key \"%s\"\n",it->key.c_str());
    6363                                print((ExtValue*)it->value,indent+6,&next_trace);
    6464                                }
     
    6767                }
    6868        }
    69 puts((const char*)v->getString());
     69puts(v->getString().c_str());
    7070}
    7171
Note: See TracChangeset for help on using the changeset viewer.