Changeset 3502 for trunk/yat/omic/DNA.h


Ignore:
Timestamp:
Jun 7, 2016, 3:32:48 AM (6 years ago)
Author:
Peter
Message:

Avoid static variables. fixes #860.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/omic/DNA.h

    r3114 r3502  
    138138  private:
    139139    unsigned short code_;
    140     static std::vector<unsigned short> char2code_;
    141     static std::string code2char_;
    142140
    143     void init(void) const;
    144 
     141    unsigned short char2code(char) const;
     142    char code2char(unsigned short) const;
    145143    friend bool operator==(const DNA&, const DNA&);
    146144};
Note: See TracChangeset for help on using the changeset viewer.