Commit 8ca3ab2c authored by Victor Zverovich's avatar Victor Zverovich

Revert problematic pragma

parent 18ac9870
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment