From 7517371203a04bc8c76b3d6247c283b7591de61a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 17 Jun 2018 08:11:48 +0200 Subject: [PATCH] Renamed private member analyzerInfoFile --- lib/analyzerinfo.cpp | 10 +++++----- lib/analyzerinfo.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/analyzerinfo.cpp b/lib/analyzerinfo.cpp index 70a3a3afb..dacf78484 100644 --- a/lib/analyzerinfo.cpp +++ b/lib/analyzerinfo.cpp @@ -66,7 +66,7 @@ void AnalyzerInformation::writeFilesTxt(const std::string &buildDir, const std:: void AnalyzerInformation::close() { - analyzerInfoFile.clear(); + mAnalyzerInfoFile.clear(); if (mOutputStream.is_open()) { mOutputStream << "\n"; mOutputStream.close(); @@ -132,17 +132,17 @@ bool AnalyzerInformation::analyzeFile(const std::string &buildDir, const std::st return true; close(); - analyzerInfoFile = AnalyzerInformation::getAnalyzerInfoFile(buildDir,sourcefile,cfg); + mAnalyzerInfoFile = AnalyzerInformation::getAnalyzerInfoFile(buildDir,sourcefile,cfg); - if (skipAnalysis(analyzerInfoFile, checksum, errors)) + if (skipAnalysis(mAnalyzerInfoFile, checksum, errors)) return false; - mOutputStream.open(analyzerInfoFile); + mOutputStream.open(mAnalyzerInfoFile); if (mOutputStream.is_open()) { mOutputStream << "\n"; mOutputStream << "\n"; } else { - analyzerInfoFile.clear(); + mAnalyzerInfoFile.clear(); } return true; diff --git a/lib/analyzerinfo.h b/lib/analyzerinfo.h index f3fdf0d13..70bf9b9c3 100644 --- a/lib/analyzerinfo.h +++ b/lib/analyzerinfo.h @@ -59,7 +59,7 @@ public: static std::string getAnalyzerInfoFile(const std::string &buildDir, const std::string &sourcefile, const std::string &cfg); private: std::ofstream mOutputStream; - std::string analyzerInfoFile; + std::string mAnalyzerInfoFile; }; /// @}