diff options
Diffstat (limited to 'src/mask.h')
-rw-r--r-- | src/mask.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2003-2009, John Wiegley. All rights reserved. + * Copyright (c) 2003-2010, John Wiegley. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -73,7 +73,11 @@ public: } mask_t& operator=(const string& other); + mask_t& assign_glob(const string& other); + bool operator<(const mask_t& other) const { + return expr < other.expr; + } bool operator==(const mask_t& other) const { return expr == other.expr; } |