mirror of
https://github.com/fmtlib/fmt.git
synced 2025-08-01 03:34:45 +02:00
Workaround an ABI issue in spdlog
This commit is contained in:
@@ -774,7 +774,9 @@ enum { inline_buffer_size = 500 };
|
|||||||
* converted to `std::string` with `to_string(out)`.
|
* converted to `std::string` with `to_string(out)`.
|
||||||
*/
|
*/
|
||||||
template <typename T, size_t SIZE = inline_buffer_size,
|
template <typename T, size_t SIZE = inline_buffer_size,
|
||||||
typename Allocator = detail::allocator<T>>
|
// DEPRECATED! std::allocator should be replaced with
|
||||||
|
// detail::allocator
|
||||||
|
typename Allocator = std::allocator<T>>
|
||||||
class basic_memory_buffer : public detail::buffer<T> {
|
class basic_memory_buffer : public detail::buffer<T> {
|
||||||
private:
|
private:
|
||||||
T store_[SIZE];
|
T store_[SIZE];
|
||||||
@@ -2594,7 +2596,7 @@ class bigint {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
FMT_CONSTEXPR bigint() : exp_(0) {}
|
FMT_CONSTEXPR20 bigint() : exp_(0) {}
|
||||||
explicit bigint(uint64_t n) { assign(n); }
|
explicit bigint(uint64_t n) { assign(n); }
|
||||||
|
|
||||||
bigint(const bigint&) = delete;
|
bigint(const bigint&) = delete;
|
||||||
|
Reference in New Issue
Block a user