mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-19 20:18:49 +00:00
Revert problematic pragma
This commit is contained in:
parent
18ac98700e
commit
8ca3ab2c4c
@ -870,7 +870,8 @@ namespace internal {
|
||||
template <typename Context, typename T>
|
||||
class get_type {
|
||||
public:
|
||||
typedef decltype(make_value<Context>(std::declval<typename std::decay<T>::type&>())) value_type;
|
||||
typedef decltype(make_value<Context>(
|
||||
std::declval<typename std::decay<T>::type&>())) value_type;
|
||||
static const type value = value_type::type_tag;
|
||||
};
|
||||
|
||||
|
@ -642,13 +642,7 @@ class null_terminating_iterator {
|
||||
return ptr_ >= other.ptr_;
|
||||
}
|
||||
|
||||
// 'fmt::internal::pointer_from': the inline specifier cannot be used
|
||||
// when a friend declaration refers to a specialization of a function
|
||||
|
||||
// pointer_from is defined with the inline specifier, but declared without,
|
||||
// so this looks like a bug in the compiler.
|
||||
friend FMT_CONSTEXPR_DECL const Char *pointer_from<Char>(
|
||||
# pragma warning(suppress: 4396)
|
||||
null_terminating_iterator it);
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user