Removes reference counter from log write agent

This commit is contained in:
Felipe Zimmerle
2019-01-22 12:27:40 -03:00
parent 5ebfa5eacb
commit 4b88fdc513

View File

@@ -33,19 +33,7 @@ class DebugLogWriterAgent : public std::ofstream {
}
void write(const std::string& msg);
bool refCountDecreaseAndCheck() {
this->m_referenceCount--;
if (this->m_referenceCount == 0) {
return true;
}
return false;
}
void refCountIncrease() {
this->m_referenceCount++;
}
int m_referenceCount;
std::string m_fileName;
};