Skip to content

Commit 80e9a93

Browse files
authored
Update Logger.cpp
Fix review findings
1 parent 0b0c425 commit 80e9a93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/Common/Logger.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ void AbstractLogStream::activate() {
7272
mIsActive = true;
7373
}
7474

75-
void AbstractLogStream::desactivate() {
75+
void AbstractLogStream::deactivate() {
7676
mIsActive = false;
7777
}
7878

@@ -224,7 +224,7 @@ void Logger::registerLogStream(AbstractLogStream *pLogStream) {
224224
}
225225

226226
void Logger::unregisterLogStream(AbstractLogStream *logStream) {
227-
if (nullptr != logStream) {
227+
if (nullptr == logStream) {
228228
return;
229229
}
230230

0 commit comments

Comments
 (0)