Skip to content
Snippets Groups Projects
  1. Nov 27, 2016
  2. Mar 20, 2016
  3. Feb 08, 2016
  4. Jan 31, 2016
    • Thomas Perl's avatar
      Merge pull request #17 from lkundrak/lr-sort · e9bd8b52
      Thomas Perl authored
      SortableVector: avoid qsort()ing C++ objects
      e9bd8b52
    • Lubomir Rintel's avatar
      SortableVector: avoid qsort()ing C++ objects · 3ef95f36
      Lubomir Rintel authored
      That's a sin to memcpy() a non-primitive type such as std::string. With
      the current GCC libstdc++ implementation std::string inlines and copying
      them directly causes no end of mayhem.
      
      Valgrind just waved goodbye and exited through an open window.
      
      Let's just get rid of the broken SortableVector class altogether, use
      the standard std::sort interface, overload < instead of using a custom
      comparator and implement swap to do the replaces correctly.
      3ef95f36
  5. Dec 31, 2015
  6. Dec 30, 2015
  7. Nov 27, 2015
  8. Nov 18, 2015
  9. Nov 17, 2015
  10. Nov 16, 2015
  11. Nov 13, 2015
  12. Apr 02, 2015
  13. Mar 01, 2015
  14. Feb 20, 2015
  15. Jan 08, 2015
  16. Jan 07, 2015
  17. Jan 05, 2015
Loading