mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Workaround an nvcc bug
This commit is contained in:
parent
a2596d685d
commit
9e9ad57f58
@ -2012,13 +2012,14 @@ class ArgFormatterBase : public ArgVisitor<Impl, void> {
|
||||
write(value);
|
||||
}
|
||||
|
||||
void visit_string(Arg::StringValue<char> value) {
|
||||
// Qualification with "internal" here and below is a workaround for nvcc.
|
||||
void visit_string(internal::Arg::StringValue<char> value) {
|
||||
writer_.write_str(value, spec_);
|
||||
}
|
||||
|
||||
using ArgVisitor<Impl, void>::visit_wstring;
|
||||
|
||||
void visit_wstring(Arg::StringValue<Char> value) {
|
||||
void visit_wstring(internal::Arg::StringValue<Char> value) {
|
||||
writer_.write_str(value, spec_);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user