A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
finish the cleanup of the netcard list container
[simgrid.git]
/
src
/
kernel
/
routing
/
NetCard.hpp
diff --git
a/src/kernel/routing/NetCard.hpp
b/src/kernel/routing/NetCard.hpp
index
b899b68
..
42c9ceb
100644
(file)
--- a/
src/kernel/routing/NetCard.hpp
+++ b/
src/kernel/routing/NetCard.hpp
@@
-45,6
+45,8
@@
public:
static simgrid::xbt::signal<void(NetCard*)> onCreation;
+ bool operator<(const NetCard &rhs) const { return name_ < rhs.name_; }
+
private:
unsigned int id_;
std::string name_;