Ignore:
Timestamp:
04/09/15 23:51:28 (10 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/param/paramobj.cpp

    r326 r348  
    5858                t->name = maybedup(dupentries, "create new object");
    5959                SString tmp = SString::sprintf("p o%s()", pi->getName());
    60                 t->type = maybedup(dupentries, (const char*)tmp);
     60                t->type = maybedup(dupentries, tmp.c_str());
    6161                t->help = maybedup(dupentries, pi->help(i));
    6262                t->flags = 0;
Note: See TracChangeset for help on using the changeset viewer.