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/canvas/neurodiagram.cpp

    r286 r348  
    271271        if (size.y > 4 * textHeight())
    272272        {
    273                 const char* t = label;
     273                const char* t = label.c_str();
    274274                setColor(ColorDefs::neurosymbol);
    275275                drawAlignedText(size.x / 2, size.y - textHeight(), 0, t);
     
    445445NeuroProbe::NeuroProbe(NeuroSymbol* ns)
    446446:DCanvasWindow(DCanvasWindow::Title + DCanvasWindow::Border + DCanvasWindow::Close + DCanvasWindow::Size,
    447   (const char*)ns->getLabel(), &neurochart, &neurochart)
     447  ns->getLabel().c_str(), &neurochart, &neurochart)
    448448{
    449449        holdismine = 0;
Note: See TracChangeset for help on using the changeset viewer.