Skip to content

Commit 784eac8

Browse files
committed
Workaround an ABI issue in spdlog
1 parent 6fdf225 commit 784eac8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

include/fmt/format.h

+4-2
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,9 @@ enum { inline_buffer_size = 500 };
774774
* converted to `std::string` with `to_string(out)`.
775775
*/
776776
template <typename T, size_t SIZE = inline_buffer_size,
777-
typename Allocator = detail::allocator<T>>
777+
// DEPRECATED! std::allocator should be replaced with
778+
// detail::allocator
779+
typename Allocator = std::allocator<T>>
778780
class basic_memory_buffer : public detail::buffer<T> {
779781
private:
780782
T store_[SIZE];
@@ -2594,7 +2596,7 @@ class bigint {
25942596
}
25952597

25962598
public:
2597-
FMT_CONSTEXPR bigint() : exp_(0) {}
2599+
FMT_CONSTEXPR20 bigint() : exp_(0) {}
25982600
explicit bigint(uint64_t n) { assign(n); }
25992601

26002602
bigint(const bigint&) = delete;

0 commit comments

Comments
 (0)