From 9e9ad57f585e4793aae43d07c0db7b40c07ea194 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 19 Jan 2017 06:24:15 -0800 Subject: [PATCH] Workaround an nvcc bug --- fmt/format.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fmt/format.h b/fmt/format.h index 2f1c518d..c5de6921 100644 --- a/fmt/format.h +++ b/fmt/format.h @@ -2012,13 +2012,14 @@ class ArgFormatterBase : public ArgVisitor { write(value); } - void visit_string(Arg::StringValue value) { + // Qualification with "internal" here and below is a workaround for nvcc. + void visit_string(internal::Arg::StringValue value) { writer_.write_str(value, spec_); } using ArgVisitor::visit_wstring; - void visit_wstring(Arg::StringValue value) { + void visit_wstring(internal::Arg::StringValue value) { writer_.write_str(value, spec_); }