mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 16:44:49 +01:00
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:
parent
c43921fadf
commit
7d523c89d5
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user