Commit c0accf56 authored by Jean-Benoist Leger's avatar Jean-Benoist Leger
Browse files

Merge branch 'numeric_sort'

parents a1d3b280 a8036ff8
......@@ -19,6 +19,12 @@ void Couple::Initialize(std::string S, int I)
bool Couple::operator<(const Couple &Other)
long int myintname = atol(GetName().c_str());
long int othintname = atol(Other.GetName().c_str());
return true;
return false;
return GetName() < Other.GetName();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment