fixed compile error in g++ 4.4.3

git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/trunk@5528 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
Scott R Charlton 2011-07-22 05:06:04 +00:00
parent 7d523c89d5
commit 3d989d5f44

View File

@ -552,7 +552,7 @@ cxxNameDouble::merge_redox(const cxxNameDouble & source)
}
}
struct DblCmp {
bool operator()(const std::pair<std::string, double> &lhs, std::pair<std::string, double> &rhs)
bool operator()(const std::pair<std::string, double> &lhs, const std::pair<std::string, double> &rhs)
{
return lhs.second > rhs.second;
}