Skip to content

Commit

Permalink
Workaround segfault in doxygen and apply clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Apr 6, 2019
1 parent 918ab77 commit ab1474e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/fmt/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ typename Allocator::value_type* allocate(Allocator& alloc, std::size_t n) {
FMT_END_NAMESPACE

namespace std {
using namespace fmt::internal;
using namespace fmt::v5::internal;
// Standard permits specialization of std::numeric_limits. This specialization
// is used to detect presence of uintptr_t.
template <>
Expand Down Expand Up @@ -2713,8 +2713,7 @@ template <typename Range> class basic_writer {
}
};

template <typename UIntPtr>
struct pointer_writer {
template <typename UIntPtr> struct pointer_writer {
UIntPtr value;
int num_digits;

Expand Down

0 comments on commit ab1474e

Please sign in to comment.