Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

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://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@535 ec899d31-69d1-42ba-9299-647d76f65fb3
parent 2a9f3477
......@@ -180,7 +180,7 @@ void Load::addEvent(ValueEvent * ve) {
eventList.push_back(ve);
//-- sort the list by date
#if defined(_WIN32) && !defined(__MINGW32__) // MSVC only
#if !defined(__MINGW32__) && (_MSC_VER < 1600) // MSVC<10 only, see http://msdn.microsoft.com/en-us/library/b0084kay%28v=vs.100%29.aspx
std::sort(eventList.begin(), eventList.end(), std::greater); // use the greater() method (see above)
#else
std::sort(eventList.begin(), eventList.end(), std::greater<ValueEvent *>()); // use the greater() method (see above)
......
Markdown is supported
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