Ignore:
Timestamp:
05/16/18 21:20:31 (6 years ago)
Author:
Maciej Komosinski
Message:

Removed the unused "info" field and fixed a bug with incorrect pointers to content stored in a vector

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/genoconv.h

    r735 r783  
    2020{
    2121        GenoConvManager *gcm;
    22         std::vector<std::string> gcnames;
     22        std::vector<std::string> gcnames; //stores names of converters so that these names persist and pointers to these names can be safely used externally
    2323        char tmp_id[20];
    2424        void freetab();
     
    4545        char in_format,         //< input format, eg. '1'
    4646                out_format;     //< output format, eg. '0'
    47         const char *info;       //< detailed info about converter, format or copyright
    4847        paInt enabled;  //< don't touch this! (used by configuration module)
    4948        paInt mapsupport; //< set to 1 if your converter supports genotype mapping
     
    5756        virtual ~GenoConverter() {}
    5857        /// Don't forget to set public fields in your constructor
    59         GenoConverter() :name(""), in_format(-1), out_format('0'), info(""), enabled(1), mapsupport(0) {}
     58        GenoConverter() :name(""), in_format(-1), out_format('0'), enabled(1), mapsupport(0) {}
    6059};
    6160
Note: See TracChangeset for help on using the changeset viewer.