comparison Core/HttpServer/StringMatcher.h @ 3403:630fc934597f

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 07 Jun 2019 17:24:26 +0200
parents 4acd1431e603
children 94f4a18a79cc
comparison
equal deleted inserted replaced
3402:cf31b5bacce3 3403:630fc934597f
46 typedef std::string::const_iterator Iterator; 46 typedef std::string::const_iterator Iterator;
47 47
48 private: 48 private:
49 class Search; 49 class Search;
50 50
51 // WARNING - The lifetime of "pattern_" must be larger than
52 // "search_", as the latter references "pattern_"
53 boost::shared_ptr<Search> search_; // PImpl pattern 51 boost::shared_ptr<Search> search_; // PImpl pattern
54 std::string pattern_; 52 std::string pattern_;
55 bool valid_; 53 bool valid_;
56 Iterator matchBegin_; 54 Iterator matchBegin_;
57 Iterator matchEnd_; 55 Iterator matchEnd_;