[xoreos-git] [xoreos/xoreos] b9b862: AURORA: Use the proper reverse_iterator class

GitHub noreply at github.com
Sun Jul 7 02:33:32 CEST 2013


  Branch: refs/heads/master
  Home:   https://github.com/xoreos/xoreos
  Commit: b9b86252fa7c4188521bc2e68c7a52b7ffa6e1d8
      https://github.com/xoreos/xoreos/commit/b9b86252fa7c4188521bc2e68c7a52b7ffa6e1d8
  Author: Matthew Hoops <clone2727 at gmail.com>
  Date:   2013-07-06 (Sat, 06 Jul 2013)

  Changed paths:
    M src/aurora/nwscript/ncsfile.cpp

  Log Message:
  -----------
  AURORA: Use the proper reverse_iterator class

When calling rbegin() on a non-const container, it returns a non-const iterator. Since the spec does not require reverse_iterator<iterator> and reverse_iterator<const_iterator> to be comparable, this breaks compilation on some compilers.





More information about the xoreos-git mailing list