mirror of
https://github.com/boostorg/functional.git
synced 2025-08-02 14:04:27 +02:00
Return 0 from int main() in the hash examples.
[SVN r30633]
This commit is contained in:
@@ -31,6 +31,8 @@ int main()
|
|||||||
|
|
||||||
//assert(books.find(knife) != books.end());
|
//assert(books.find(knife) != books.end());
|
||||||
//assert(books.find(dandelion) == books.end());
|
//assert(books.find(dandelion) == books.end());
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace library
|
namespace library
|
||||||
|
@@ -48,5 +48,7 @@ int main()
|
|||||||
// hash function.
|
// hash function.
|
||||||
assert(point_hasher(p1) != point_hasher(p2));
|
assert(point_hasher(p1) != point_hasher(p2));
|
||||||
assert(point_hasher(p1) != point_hasher(p3));
|
assert(point_hasher(p1) != point_hasher(p3));
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -53,4 +53,6 @@ int main()
|
|||||||
assert(hasher(x) == hasher(x));
|
assert(hasher(x) == hasher(x));
|
||||||
assert(hasher(x) != hasher(y));
|
assert(hasher(x) != hasher(y));
|
||||||
assert(hasher(x) == hasher(z));
|
assert(hasher(x) == hasher(z));
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user