Skip to content

Commit

Permalink
Fixed a small include header file bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
ax-6 committed Feb 17, 2024
1 parent d8ce9f8 commit 45d4f4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion debugger/debugger.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#define AQ_DEBUGGER_DEBUGGER_H_

#include <ctime>
#include <cstring>
#include <string>

namespace Aq {
Expand All @@ -18,7 +19,7 @@ class Debugger {
Debugger(Level level, const char* location, const char* debug_code,
const char* debug_message, const char* other_info = nullptr)
: errno_(errno),
errno_message_(strerror(errno)),
errno_message_(std::strerror(errno)),
timestamp_(time(NULL)),
level_(level),
location_(location),
Expand Down

0 comments on commit 45d4f4d

Please sign in to comment.