Index: compiled/filter/ActiveFilter.cpp |
=================================================================== |
--- a/compiled/filter/ActiveFilter.cpp |
+++ b/compiled/filter/ActiveFilter.cpp |
@@ -23,16 +23,22 @@ |
const DependentString ActiveFilter::DEFAULT_DOMAIN(u""_str); |
ActiveFilter::ActiveFilter(Type type, const String& text, bool ignoreTrailingDot) |
: Filter(type, text), mIgnoreTrailingDot(ignoreTrailingDot), |
mDisabled(false), mHitCount(0), mLastHit(0) |
{ |
} |
+ActiveFilter::ActiveFilter(Type type, String&& text, bool ignoreTrailingDot) |
+ : Filter(type, std::move(text)), mIgnoreTrailingDot(ignoreTrailingDot), |
+ mDisabled(false), mHitCount(0), mLastHit(0) |
+{ |
+} |
+ |
ActiveFilter::DomainMap* ActiveFilter::GetDomains() const |
{ |
return mDomains.get(); |
} |
ActiveFilter::SitekeySet* ActiveFilter::GetSitekeys() const |
{ |
return mSitekeys.get(); |