Changeset 955 for cpp/frams/model


Ignore:
Timestamp:
06/25/20 00:34:29 (4 years ago)
Author:
Maciej Komosinski
Message:

Genetic format ID becomes a string (no longer limited to a single character)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/model/model.cpp

    r952 r955  
    333333        f0warnposition = -1;
    334334        MultiMap *convmap = autobuildmaps ? new MultiMap() : NULL;
    335         f0geno = (geno.getFormat() == '0') ? geno : geno.getConverted('0', convmap, using_checkpoints);
     335        f0geno = (geno.getFormat() == "0") ? geno : geno.getConverted("0", convmap, using_checkpoints);
    336336        f0genoknown = 1;
    337337        if (f0geno.isInvalid())
     
    437437        if ((buildstatus != valid) && (buildstatus != building))
    438438        {
    439                 g = Geno(0, 0, 0, "invalid model");
     439                g = Geno("", Geno::INVALID_FORMAT, "", "invalid model");
    440440                return;
    441441        }
Note: See TracChangeset for help on using the changeset viewer.