Skip to content

Commit

Permalink
Add missing namespace prefix to Log.h.
Browse files Browse the repository at this point in the history
  • Loading branch information
domchen committed Nov 2, 2023
1 parent f2d9b54 commit 40775af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/Log.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
namespace tgfx {
#define ABORT(msg) \
do { \
PrintError("%s:%d: fatal error: \"%s\"\n", __FILE__, __LINE__, #msg); \
::tgfx::PrintError("%s:%d: fatal error: \"%s\"\n", __FILE__, __LINE__, #msg); \
::abort(); \
} while (false)

Expand All @@ -36,8 +36,8 @@ namespace tgfx {

#else

#define LOGI(...) PrintLog(__VA_ARGS__)
#define LOGE(...) PrintError(__VA_ARGS__)
#define LOGI(...) ::tgfx::PrintLog(__VA_ARGS__)
#define LOGE(...) ::tgfx::PrintError(__VA_ARGS__)
#define ASSERT(assertion) \
if (!(assertion)) { \
ABORT(#assertion); \
Expand Down

0 comments on commit 40775af

Please sign in to comment.