From 743a27908ff2a386304b916de9b830b57c79479e Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Fri, 8 Mar 2019 00:24:06 +0000 Subject: [PATCH] [Reproducers] Mark partial specialization as inline The overload and/or template specialization are regular functions and should be marked inline when implemented in the header. Writing the previous commit message should've made that obvious but I was already overthinking it. This will fix the windows bot. llvm-svn: 355657 --- lldb/include/lldb/Utility/ReproducerInstrumentation.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lldb/include/lldb/Utility/ReproducerInstrumentation.h b/lldb/include/lldb/Utility/ReproducerInstrumentation.h index aa3c1ef..7ceec9b 100644 --- a/lldb/include/lldb/Utility/ReproducerInstrumentation.h +++ b/lldb/include/lldb/Utility/ReproducerInstrumentation.h @@ -37,7 +37,8 @@ void log_append(llvm::raw_string_ostream &ss, const T *t) { ss << t; } -template <> void log_append(llvm::raw_string_ostream &ss, const char *t) { +inline template <> +void log_append(llvm::raw_string_ostream &ss, const char *t) { ss << t; } -- 2.7.4