Remove unnecessary qualification

This commit is contained in:
Victor Zverovich 2017-09-04 13:12:52 -07:00
parent af00e4f9c9
commit 7413239f49

View File

@ -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) {