diff options
Diffstat (limited to 'glib/glibmm/pattern.h')
-rw-r--r-- | glib/glibmm/pattern.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/glib/glibmm/pattern.h b/glib/glibmm/pattern.h index 6f527ccc..dff0a97c 100644 --- a/glib/glibmm/pattern.h +++ b/glib/glibmm/pattern.h @@ -43,6 +43,10 @@ public: explicit PatternSpec(GPatternSpec* gobject); ~PatternSpec(); + // noncopyable + PatternSpec(const PatternSpec&) = delete; + PatternSpec& operator=(const PatternSpec&) = delete; + bool match(const Glib::ustring& str) const; bool match(const Glib::ustring& str, const Glib::ustring& str_reversed) const; @@ -54,10 +58,6 @@ public: private: GPatternSpec* gobject_; - - // noncopyable - PatternSpec(const PatternSpec&); - PatternSpec& operator=(const PatternSpec&); }; /** @} group PatternMatching */ |