Skip to content

Commit

Permalink
Remove FMT_UNCHECKED_ITERATOR
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Sep 18, 2024
1 parent 8b02466 commit 5c926d9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/fmt/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,8 @@

#if FMT_MSC_VERSION
# define FMT_MSC_WARNING(...) __pragma(warning(__VA_ARGS__))
# define FMT_UNCHECKED_ITERATOR(It) \
using _Unchecked_type = It // Mark iterator as checked.
#else
# define FMT_MSC_WARNING(...)
# define FMT_UNCHECKED_ITERATOR(It) using unchecked_type = It
#endif

#ifndef FMT_BEGIN_NAMESPACE
Expand Down Expand Up @@ -2388,7 +2385,6 @@ template <typename T> class basic_appender {
using pointer = T*;
using reference = T&;
using container_type = detail::buffer<T>;
FMT_UNCHECKED_ITERATOR(basic_appender);

FMT_CONSTEXPR basic_appender(detail::buffer<T>& buf) : container(&buf) {}

Expand Down

0 comments on commit 5c926d9

Please sign in to comment.