Changeset 199 for cpp/frams/genetics/f4


Ignore:
Timestamp:
03/29/14 00:03:35 (10 years ago)
Author:
Maciej Komosinski
Message:

Avoid const char*/char* compilation warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/f4/oper_f4.cpp

    r197 r199  
    4242        par.setDefault();
    4343
    44         mutation_method_names = new char*[F4_COUNT + F4_ADD_COUNT - 1];
     44        mutation_method_names = new const char*[F4_COUNT + F4_ADD_COUNT - 1];
    4545        int index = 0;
    4646        mutation_method_names[index++] = "added division";
Note: See TracChangeset for help on using the changeset viewer.