diff options
| author | uncrustify <david@tethera.net> | 2019-06-13 07:55:35 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2019-06-14 07:41:27 -0300 |
| commit | 2b62ca2e3b786beca8d89fa737bda0b49faa638d (patch) | |
| tree | e2dcfc03bae8c54340396522f1640c89fa7e677f /lib/regexp-fields.h | |
| parent | 8a3f86f2f9b53d34e001537b113628ceba20a02d (diff) | |
lib: run uncrustify
This is the result of running
$ uncrustify --replace --config ../devel/uncrustify.cfg *.c *.h *.cc
in the lib directory
Diffstat (limited to 'lib/regexp-fields.h')
| -rw-r--r-- | lib/regexp-fields.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/regexp-fields.h b/lib/regexp-fields.h index d5f93445..97778a1d 100644 --- a/lib/regexp-fields.h +++ b/lib/regexp-fields.h @@ -35,7 +35,7 @@ */ class RegexpPostingSource : public Xapian::PostingSource { - protected: +protected: const Xapian::valueno slot_; regex_t regexp_; Xapian::Database db_; @@ -46,7 +46,7 @@ class RegexpPostingSource : public Xapian::PostingSource RegexpPostingSource (const RegexpPostingSource &); RegexpPostingSource &operator= (const RegexpPostingSource &); - public: +public: RegexpPostingSource (Xapian::valueno slot, const std::string ®exp); ~RegexpPostingSource (); void init (const Xapian::Database &db); @@ -62,20 +62,22 @@ class RegexpPostingSource : public Xapian::PostingSource class RegexpFieldProcessor : public Xapian::FieldProcessor { - protected: +protected: Xapian::valueno slot; std::string term_prefix; notmuch_field_flag_t options; Xapian::QueryParser &parser; notmuch_database_t *notmuch; - public: +public: RegexpFieldProcessor (std::string prefix, notmuch_field_flag_t options, Xapian::QueryParser &parser_, notmuch_database_t *notmuch_); - ~RegexpFieldProcessor () { }; + ~RegexpFieldProcessor () + { + }; - Xapian::Query operator()(const std::string & str); + Xapian::Query operator() (const std::string & str); }; #endif #endif /* NOTMUCH_REGEXP_FIELDS_H */ |
