aboutsummaryrefslogtreecommitdiff
path: root/paludis/name-fwd.hh
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-01-22 01:25:28 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2008-01-22 01:25:28 +0000
commit8ed98c406675c8ff01381633c4e41ade4c96360e (patch)
tree29c617d3002c68fc6cf9850e08470c2a47e27de2 /paludis/name-fwd.hh
parent8c3decbad616902b8ffbf7d3a8cda8cbf8cbf8f8 (diff)
downloadpaludis-8ed98c406675c8ff01381633c4e41ade4c96360e.tar.gz
paludis-8ed98c406675c8ff01381633c4e41ade4c96360e.tar.xz
Sort keywords by name first, then by stable/testing/etc.
Diffstat (limited to 'paludis/name-fwd.hh')
-rw-r--r--paludis/name-fwd.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/name-fwd.hh b/paludis/name-fwd.hh
index 448067d29..b94ca1041 100644
--- a/paludis/name-fwd.hh
+++ b/paludis/name-fwd.hh
@@ -165,13 +165,14 @@ namespace paludis
class KeywordNameValidator;
class KeywordNameError;
+ class KeywordNameComparator;
/**
* A KeywordName holds a std::string that is a valid name for a KEYWORD.
*
* \ingroup g_names
*/
- typedef Validated<std::string, KeywordNameValidator> KeywordName;
+ typedef Validated<std::string, KeywordNameValidator, true, KeywordNameComparator> KeywordName;
/**
* Holds a collection of KeywordName instances.