fixed obsolete use of class_requires

[SVN r8477]
This commit is contained in:
Jeremy Siek
2000-12-19 18:12:41 +00:00
parent 2d7631ca77
commit 2b8a18ecc9
2 changed files with 4 additions and 7 deletions
+2 -5
View File
@@ -1,11 +1,8 @@
#include <list>
#include <algorithm>
struct foo {
bool operator<(const foo&) const { return false; }
};
int main(int, char*[]) {
std::list<foo> v;
int main() {
std::list<int> v;
std::stable_sort(v.begin(), v.end());
return 0;
}