Add node_ref::operator <

Moved from VirtualDirectoryManager. Defining the operator static doesn't
work with gcc 4 and it's useful to have globally available anyway.
This commit is contained in:
Ingo Weinhold
2013-08-06 00:40:29 +02:00
parent 8a2643daee
commit 040a81419d
3 changed files with 11 additions and 9 deletions
+1
View File
@@ -22,6 +22,7 @@ struct node_ref {
bool operator==(const node_ref& ref) const;
bool operator!=(const node_ref& ref) const;
bool operator<(const node_ref& ref) const;
node_ref& operator=(const node_ref& ref);
dev_t device;