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/neuro/neuroimpl.cpp

    r288 r348  
    7373        if (!ni) { errorcount++;
    7474                FMprintf("NeuroNetImpl","create",FMLV_WARN,"neuron #%d (%s) implementation not available",
    75                          i,(const char*)n->getClassName());
     75                         i,n->getClassName().c_str());
    7676                continue; } // implementation not available?!
    7777        ni->owner=this;
     
    8888                { ni->status=NeuroImpl::InitError; errorcount++;
    8989                FMprintf("NeuroNetImpl","create",FMLV_WARN,"neuron #%d (%s) initialization failed",
    90                          i,(const char*)n->getClassName());
     90                         i,n->getClassName().c_str());
    9191                continue; }
    9292        ni->status=NeuroImpl::InitOk;
Note: See TracChangeset for help on using the changeset viewer.