forked from fmtlib/fmt
Inline visit
This commit is contained in:
@@ -1776,7 +1776,7 @@ template <typename Context> class basic_format_arg {
|
||||
* `vis(value)` will be called with the value of type `double`.
|
||||
*/
|
||||
template <typename Visitor>
|
||||
FMT_CONSTEXPR auto visit(Visitor&& vis) const -> decltype(vis(0)) {
|
||||
FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
|
||||
switch (type_) {
|
||||
case detail::type::none_type:
|
||||
break;
|
||||
|
Reference in New Issue
Block a user