diff options
author | Stijn Buys <ingar@osirion.org> | 2010-11-11 20:31:09 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-11-11 20:31:09 +0000 |
commit | 5eeb90aeaa0ab78455a3e55e048df12d1ddd3b91 (patch) | |
tree | 80b7afb0c3a89e2c7b0d46fe9e7d52286f5b2547 /src/core/label.h | |
parent | 45819c1dc206b173a6a7bf5e00971624bebbe8fb (diff) |
added static compare function to core::Label
Diffstat (limited to 'src/core/label.h')
-rw-r--r-- | src/core/label.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/label.h b/src/core/label.h index 2ca40f7..582ea32 100644 --- a/src/core/label.h +++ b/src/core/label.h @@ -44,6 +44,11 @@ public: void set_name(const char *name); + /** + * @brief static compare function for std::container sort functions + */ + static bool compare(const Label *first, const Label *second); + private: std::string labelstr; std::string namestr; |