Skip to content

Commit

Permalink
fix cpplint
Browse files Browse the repository at this point in the history
  • Loading branch information
intel-whye committed Oct 21, 2022
1 parent 371a9a0 commit 29160c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ std::string GetTime() {
timespec_get(&ts, TIME_UTC);
int end = strftime(buf, sizeof(buf), "%Y-%m-%d.%X", gmtime(&ts.tv_sec));
snprintf(buf + end, MAX_SIZE_LOG_TIME-end, " %09ld", ts.tv_nsec);
std::string ret = std::string(buf);
return ret;
return std::string(buf);
}

} // namespace
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#define CORE_MESSAGE_INFRASTRUCTURE_LOGGING_H_

#include <memory>
#include <mutex>
#include <mutex> //NOLINT
#include <iostream>
#include <sstream>
#include <fstream>
Expand Down

0 comments on commit 29160c5

Please sign in to comment.