fixed compile error in g++ 4.4.3

git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/trunk@5527 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
Scott R Charlton 2011-07-22 04:51:44 +00:00
parent c43921fadf
commit 7d523c89d5

View File

@ -557,10 +557,10 @@ struct DblCmp {
return lhs.second > rhs.second;
}
};
std::vector<std::pair<std::string, double>>
std::vector< std::pair<std::string, double> >
cxxNameDouble::sort_second(void)
{
std::vector<std::pair<std::string, double>> myvec(this->begin(), this->end());
std::vector< std::pair<std::string, double> > myvec(this->begin(), this->end());
std::sort(myvec.begin(), myvec.end(), DblCmp());
return myvec;