Skip to content

Commit

Permalink
Work around xl compiler bug when nvcc preprocesses this file (#2190)
Browse files Browse the repository at this point in the history
  • Loading branch information
white238 authored Mar 27, 2021
1 parent 4dc7170 commit 9b34681
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/fmt/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -1695,7 +1695,8 @@ template <typename Context> class basic_format_args {
template <typename... Args>
constexpr FMT_INLINE basic_format_args(
const format_arg_store<Context, Args...>& store)
: basic_format_args(store.desc, store.data_.args()) {}
: basic_format_args(format_arg_store<Context, Args...>::desc,
store.data_.args()) {}

/**
\rst
Expand Down

0 comments on commit 9b34681

Please sign in to comment.