Fix clang build

This commit is contained in:
Danila Kutenin 2019-04-01 08:05:52 +03:00
parent 3ce9686bc4
commit fca67c8820

View File

@ -96,8 +96,8 @@ namespace MultiRegexps
public: public:
Regexps(hs_database_t * db_, hs_scratch_t * scratch_) : db{db_}, scratch{scratch_} {} Regexps(hs_database_t * db_, hs_scratch_t * scratch_) : db{db_}, scratch{scratch_} {}
hs_database_t * getDB() const { return db.get(); }; hs_database_t * getDB() const { return db.get(); }
hs_scratch_t * getScratch() const { return scratch.get(); }; hs_scratch_t * getScratch() const { return scratch.get(); }
private: private:
DataBasePtr db; DataBasePtr db;
ScratchPtr scratch; ScratchPtr scratch;