Skip to content

Commit

Permalink
Merge pull request #714 from adah1972/typo-change
Browse files Browse the repository at this point in the history
Fix two typos that could affect understanding.
  • Loading branch information
abumq authored Dec 25, 2020
2 parents a2d7862 + 6cb5e4e commit 1490004
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ Now compile using
g++ main.cc easylogging++.cc -o prog -std=c++11
```
That simple! Please note that `INITIALIZE_EASYLOGGINGPP` should be used once and once-only otherwise you will end up getting compilation errors. This is defining several `extern` variables. This means it can be defined only once per application. Best place to put this initialization statement is in file where `int main(int, char**)` function is defined, right after last include statement.
That simple! Please note that `INITIALIZE_EASYLOGGINGPP` should be used once and once-only otherwise you will end up getting compilation errors. This is the definition of several `extern` variables. This means it can be defined only once per application. Best place to put this initialization statement is in file where `int main(int, char**)` function is defined, right after last include statement.
### Install (Optional)
If you want to install this header system-wide, you can do so via:
Expand Down
4 changes: 2 additions & 2 deletions src/easylogging++.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2482,8 +2482,8 @@ void LogDispatcher::dispatch(void) {
return;
}
#ifndef ELPP_NO_GLOBAL_LOCK
// see https://github.com/amrayn/easyloggingpp/issues/580
// global lock is turned off by default unless
// see https://github.com/muflihun/easyloggingpp/issues/580
// global lock is turned on by default unless
// ELPP_NO_GLOBAL_LOCK is defined
base::threading::ScopedLock scopedLock(ELPP->lock());
#endif
Expand Down

0 comments on commit 1490004

Please sign in to comment.