Commit af78a2ee authored by soniayukiselmi's avatar soniayukiselmi
Browse files

FIXED compilation for MSVC2010 (which seems to be more compatible with c++11)

git-svn-id: svn+ssh:// ec899d31-69d1-42ba-9299-647d76f65fb3
parent 2a9f3477
......@@ -180,7 +180,7 @@ void Load::addEvent(ValueEvent * ve) {
//-- sort the list by date
#if defined(_WIN32) && !defined(__MINGW32__) // MSVC only
#if !defined(__MINGW32__) && (_MSC_VER < 1600) // MSVC<10 only, see
std::sort(eventList.begin(), eventList.end(), std::greater); // use the greater() method (see above)
std::sort(eventList.begin(), eventList.end(), std::greater<ValueEvent *>()); // use the greater() method (see above)
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