Fix build error for product TV
[platform/core/multimedia/libmedia-service.git] / plugin / media-ebook-plugin-regmatch.cpp
index bfa060d..6f64f51 100644 (file)
@@ -31,10 +31,10 @@ bool RegMatch::run(const std::string& text)
        if (text.empty())
                return false;
 
-       std::regex re(keyword, std::regex::icase);
+       std::regex re(_keyword, std::regex::icase);
 
        if (std::regex_search(text, re)) {
-               LOGD("Found [%s]", keyword.c_str());
+               LOGD("Found [%s]", _keyword.c_str());
                return true;
        }