You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modify the code to be compatible with the UE4 "check" macro
Modify file /fmt/ranges.h
// change the function "check(...)" to "(check)(...)"// line 81,109/// tuple_size and tuple_element check.template <typename T> classis_tuple_like_ {
template <typename U>
staticauto (check)(U* p) -> decltype(std::tuple_size<U>::value, int());
template <typename> staticvoid (check)(...);
public:static FMT_CONSTEXPR_DECL constbool value =
!std::is_void<decltype(check<T>(nullptr))>::value;
};
Modify file /beast/http/detail/type_traits.hpp
// change the function "check(...)" to "(check)(...)"// line 35template<classT>
classis_header_impl
{
template<bool b, classF>
staticstd::true_type (check)(
header<b, F> const*);
staticstd::false_type (check)(...);
public:using type = decltype((check)((T*)0));
};
Modify file /beast/http/basic_parser.hpp
// change the body and header limit to no limit.// line 71
std::uint64_t body_limit_ = (std::numeric_limits<std::uint64_t>::max)();
//default_body_limit(is_request{}); // max payload body// line 78
std::uint32_t header_limit_ = (std::numeric_limits<std::uint32_t>::max)(); // max header size
Modify file /beast/http/basic_file_body.hpp
// to support copyable
Modify the code to be compatible with the mysql "IS_NUM" macro
Modify file /asio2/http/detail/http_parser.h
// Append "HTTP_" before all macro definitions.
Modify file /spdlog/spdlog.h
// Add header only define.
#ifndef SPDLOG_HEADER_ONLY
# defineSPDLOG_HEADER_ONLY
#endif
Modify file /fmt/format.h
// Add header only define.
#ifndef FMT_HEADER_ONLY
# defineFMT_HEADER_ONLY
#endif