Changeset 835 for cpp/frams/genetics


Ignore:
Timestamp:
12/05/18 21:02:00 (6 years ago)
Author:
Maciej Komosinski
Message:

ISO C++17 compliance including NULL, nullptr, templates and pointer conversions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/fH/fH_general.cpp

    r821 r835  
    417417        if (sticks.size() == 1)
    418418        {
    419                 stickconnections.push_back(pair<fH_StickHandle *, fH_StickHandle *>(NULL, sticks[0]));
     419                stickconnections.push_back(pair<fH_StickHandle *, fH_StickHandle *>(nullptr, sticks[0]));
    420420                sticksorder.push_back(0);
    421421                return;
     
    457457
    458458        // two found handles are the beginning of creature body
    459         stickconnections.push_back(pair<fH_StickHandle *, fH_StickHandle *>(NULL, left));
     459        stickconnections.push_back(pair<fH_StickHandle *, fH_StickHandle *>(nullptr, left));
    460460        stickconnections.push_back(pair<fH_StickHandle *, fH_StickHandle *>(left, right));
    461461
Note: See TracChangeset for help on using the changeset viewer.