mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-12 07:37:34 +00:00
Be gcc 3.4 clean
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9725 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fe32bf5d0d
commit
646f8d7457
@ -114,12 +114,14 @@ struct graphListElement{
|
||||
|
||||
|
||||
namespace std {
|
||||
template<>
|
||||
struct less<Node *> : public binary_function<Node *, Node *,bool> {
|
||||
bool operator()(Node *n1, Node *n2) const {
|
||||
return n1->getElement() < n2->getElement();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
template<>
|
||||
struct less<Edge> : public binary_function<Edge,Edge,bool> {
|
||||
bool operator()(Edge e1, Edge e2) const {
|
||||
assert(!e1.isNull() && !e2.isNull());
|
||||
|
Loading…
x
Reference in New Issue
Block a user