From 45867e7c6e3b915940f014f28bfc79ae63bea4db Mon Sep 17 00:00:00 2001 From: Pierre Kestener Date: Tue, 7 Mar 2017 17:25:51 +0100 Subject: [PATCH] with this fix, one can use nvcc (nvidia compiler) to build an application using spdlog --- include/spdlog/fmt/bundled/ostream.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/spdlog/fmt/bundled/ostream.h b/include/spdlog/fmt/bundled/ostream.h index 3bdb375b..f319f5fb 100644 --- a/include/spdlog/fmt/bundled/ostream.h +++ b/include/spdlog/fmt/bundled/ostream.h @@ -83,8 +83,8 @@ void write(std::ostream &os, Writer &w); } // namespace internal // Formats a value. -template -void format_arg(BasicFormatter &f, +template +void format_arg(BasicFormatter &f, const Char *&format_str, const T &value) { internal::MemoryBuffer buffer;