Fix crash when providing bad command line argument
[clinton/bobotpp.git] / source / Mask.H
index 307a30f..2414f9d 100644 (file)
@@ -25,15 +25,14 @@ class Mask {
 
 public:
   Mask(String);
-  Mask(Mask &);
 
-  String getMask();
+  String getMask() const;
   
-  bool matches(String);
-  bool matches(Mask &);
+  bool matches(String) const;
+  bool matches(const Mask &) const;
 
 protected:
-  bool match(const char *, const char *);
+  bool match(const char *, const char *) const;
 };
 
 #endif