Skip to content

Commit 9228f34

Browse files
committed
Inline visit
1 parent e10643a commit 9228f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: include/fmt/base.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1776,7 +1776,7 @@ template <typename Context> class basic_format_arg {
17761776
* `vis(value)` will be called with the value of type `double`.
17771777
*/
17781778
template <typename Visitor>
1779-
FMT_CONSTEXPR auto visit(Visitor&& vis) const -> decltype(vis(0)) {
1779+
FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
17801780
switch (type_) {
17811781
case detail::type::none_type:
17821782
break;

0 commit comments

Comments
 (0)