Skip to content

Commit

Permalink
disable fmt::join
Browse files Browse the repository at this point in the history
  • Loading branch information
odygrd committed Nov 2, 2023
1 parent a3dbd03 commit 4cc4dae
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,15 @@
```
- Minor improvements in the bounded queue and throughput. ([#362](https://github.com/odygrd/quill/pull/362))
Previous: 2.21 million msgs/sec average, total time elapsed: 1809 ms for 4000000 log messages.
New: 2.24 million msgs/sec average, total time elapsed: 1787 ms for 4000000 log messages.
- Disable `fmt::join(data, "")` at compile time. ([#356](https://github.com/odygrd/quill/issues/356))
- Add guards for redefined preprocessor variables.
- Fix `uint64_t` to `time_t` implicit conversion error in Clang 18.
## v3.3.1
- Fixed `RotatingFileHandler` to prevent accidental removal of non-log files when using open mode `w`
Expand Down
5 changes: 4 additions & 1 deletion quill/include/quill/detail/misc/TypeTraitsCopyable.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#include <type_traits>
#include <utility>

#include "quill/Fmt.h"

/**
* Below are type traits to determine whether an object is marked as copyable.
* The traits are used to decide about
Expand Down Expand Up @@ -332,7 +334,8 @@ struct filter_copyable : std::conjunction<std::disjunction<std::is_arithmetic<T>
is_copyable_tuple<T>,
is_copyable_optional<T>,
is_copyable_container<T>
>, std::negation<is_reference_wrapper<T>>>
>, std::negation<is_reference_wrapper<T>>,
std::negation<std::is_base_of<fmtquill::detail::view, T>>>
{};

/**
Expand Down

0 comments on commit 4cc4dae

Please sign in to comment.