Skip to content

Commit

Permalink
closes #606 for Writer
Browse files Browse the repository at this point in the history
  • Loading branch information
abumq committed Feb 9, 2018
1 parent b218fd3 commit c6effe2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/easylogging++.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2428,6 +2428,7 @@ Writer& Writer::construct(int count, const char* loggerIds, ...) {
va_list loggersList;
va_start(loggersList, loggerIds);
const char* id = loggerIds;
m_loggerIds.reserve(count);
for (int i = 0; i < count; ++i) {
m_loggerIds.push_back(std::string(id));
id = va_arg(loggersList, const char*);
Expand Down

0 comments on commit c6effe2

Please sign in to comment.