Ignore:
Timestamp:
Aug 8, 2009, 8:23:22 PM (12 years ago)
Author:
Peter Johansson
Message:

adding function author_str_color. refs #161

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Configuration.cc

    r768 r815  
    5858    else
    5959      iter->second.push_back(p);
     60  }
     61
     62
     63  std::string Configuration::author_str_color(const std::string& author) const
     64  {
     65    std::string res;
     66    std::map<std::string, std::string>::const_iterator iterator;
     67    if ( (iterator=author_color_.find(author)) != author_color_.end())
     68      res = iterator->second;
     69    return res;
    6070  }
    6171
Note: See TracChangeset for help on using the changeset viewer.