diff --git a/plugins/cpp_metrics/parser/include/cppmetricsparser/cppmetricsparser.h b/plugins/cpp_metrics/parser/include/cppmetricsparser/cppmetricsparser.h index fffe10e79..66671ac87 100644 --- a/plugins/cpp_metrics/parser/include/cppmetricsparser/cppmetricsparser.h +++ b/plugins/cpp_metrics/parser/include/cppmetricsparser/cppmetricsparser.h @@ -27,8 +27,6 @@ class CppMetricsParser : public AbstractParser virtual bool parse() override; private: - bool accept(const std::string& path_); - void functionParameters(); std::unordered_set _fileIdCache; diff --git a/plugins/cpp_metrics/parser/src/cppmetricsparser.cpp b/plugins/cpp_metrics/parser/src/cppmetricsparser.cpp index 095a5bca1..c6f2788ee 100644 --- a/plugins/cpp_metrics/parser/src/cppmetricsparser.cpp +++ b/plugins/cpp_metrics/parser/src/cppmetricsparser.cpp @@ -24,12 +24,6 @@ CppMetricsParser::CppMetricsParser(ParserContext& ctx_): AbstractParser(ctx_) { } -bool CppMetricsParser::accept(const std::string& path_) -{ - std::string ext = boost::filesystem::extension(path_); - return ext == ".dummy"; -} - bool CppMetricsParser::cleanupDatabase() { if (!_fileIdCache.empty())