[Commits] [wesnoth/wesnoth] 51ed9f: Fixup tests (thanks @celticminstrel)
GitHub
noreply at github.com
Tue May 30 01:57:25 UTC 2017
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 51ed9fbce24369c4354b627b26a1afbc91314b62
https://github.com/wesnoth/wesnoth/commit/51ed9fbce24369c4354b627b26a1afbc91314b62
Author: Charles Dang <exodia339 at gmail.com>
Date: 2017-05-30 (Tue, 30 May 2017)
Changed paths:
M src/tests/gui/test_gui2.cpp
Log Message:
-----------
Fixup tests (thanks @celticminstrel)
Seems there were a few problems post-e46dfcc
- There was no need to use std::remove on a set, since the values are already unique (and std::remove
doesn't work with a set anyway). We can just specify the value to remove directly.
- std::sort isn't supported and is redundant on a set - the values are already sorted.
More information about the Commits
mailing list