Workaround an nvcc bug

This commit is contained in:
Victor Zverovich 2017-01-19 06:24:15 -08:00
parent a2596d685d
commit 9e9ad57f58

View File

@ -2012,13 +2012,14 @@ class ArgFormatterBase : public ArgVisitor<Impl, void> {
write(value); 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_); writer_.write_str(value, spec_);
} }
using ArgVisitor<Impl, void>::visit_wstring; 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_); writer_.write_str(value, spec_);
} }