Skip to content

Commit

Permalink
Use const qualifier where ever possible
Browse files Browse the repository at this point in the history
Co-authored-by: FG-TUM <[email protected]>
  • Loading branch information
cniethammer and FG-TUM authored Dec 12, 2024
1 parent 50225ab commit b68170d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/Logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class Logger {
const auto now = std::chrono::system_clock::now();
const auto time_since_start = now - _starttime;

auto now_time_t = std::chrono::system_clock::to_time_t(now);
const auto now_time_t = std::chrono::system_clock::to_time_t(now);
std::tm now_local{};
localtime_r(&now_time_t, &now_local);
std::stringstream timestampstream;
Expand Down

0 comments on commit b68170d

Please sign in to comment.