Skip to content

Commit

Permalink
Add namespace over fmtlib to avoid symbol conflicts (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anilm3 authored Nov 21, 2023
1 parent f8dbab8 commit f1dc07f
Show file tree
Hide file tree
Showing 13 changed files with 3 additions and 6,792 deletions.
2 changes: 1 addition & 1 deletion src/log.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ constexpr const char *base_name(const char *path)
{ \
if (ddwaf::logger::valid(level)) { \
constexpr const char *filename = base_name(file); \
auto message = fmt::format(fmt_str, ##__VA_ARGS__); \
auto message = ddwaf::fmt::format(fmt_str, ##__VA_ARGS__); \
ddwaf::logger::log(level, function, filename, line, message.c_str(), message.size()); \
} \
}
Expand Down
234 changes: 0 additions & 234 deletions src/vendor/fmt/args.h

This file was deleted.

Loading

0 comments on commit f1dc07f

Please sign in to comment.