mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-08 11:33:46 +00:00
Remove unnecessary qualification
This commit is contained in:
parent
af00e4f9c9
commit
7413239f49
@ -624,7 +624,6 @@ inline std::basic_string<Char> to_string(const basic_buffer<Char>& buffer) {
|
|||||||
The output can be converted to an ``std::string`` with ``to_string(out)``.
|
The output can be converted to an ``std::string`` with ``to_string(out)``.
|
||||||
\endrst
|
\endrst
|
||||||
*/
|
*/
|
||||||
//
|
|
||||||
template <typename T, std::size_t SIZE = internal::INLINE_BUFFER_SIZE,
|
template <typename T, std::size_t SIZE = internal::INLINE_BUFFER_SIZE,
|
||||||
typename Allocator = std::allocator<T> >
|
typename Allocator = std::allocator<T> >
|
||||||
class basic_memory_buffer : private Allocator, public basic_buffer<T> {
|
class basic_memory_buffer : private Allocator, public basic_buffer<T> {
|
||||||
@ -990,13 +989,13 @@ struct no_thousands_sep {
|
|||||||
template <typename Char>
|
template <typename Char>
|
||||||
class add_thousands_sep {
|
class add_thousands_sep {
|
||||||
private:
|
private:
|
||||||
fmt::basic_string_view<Char> sep_;
|
basic_string_view<Char> sep_;
|
||||||
|
|
||||||
// Index of a decimal digit with the least significant digit having index 0.
|
// Index of a decimal digit with the least significant digit having index 0.
|
||||||
unsigned digit_index_;
|
unsigned digit_index_;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit add_thousands_sep(fmt::basic_string_view<Char> sep)
|
explicit add_thousands_sep(basic_string_view<Char> sep)
|
||||||
: sep_(sep), digit_index_(0) {}
|
: sep_(sep), digit_index_(0) {}
|
||||||
|
|
||||||
void operator()(Char *&buffer) {
|
void operator()(Char *&buffer) {
|
||||||
|
Loading…
Reference in New Issue
Block a user