diff --git a/lldb/include/lldb/Utility/ReproducerInstrumentation.h b/lldb/include/lldb/Utility/ReproducerInstrumentation.h index 2cf61bde6b16..aa3c1ef45de3 100644 --- a/lldb/include/lldb/Utility/ReproducerInstrumentation.h +++ b/lldb/include/lldb/Utility/ReproducerInstrumentation.h @@ -37,7 +37,9 @@ void log_append(llvm::raw_string_ostream &ss, const T *t) { ss << t; } -void log_append(llvm::raw_string_ostream &ss, const char *t) { ss << t; } +template <> void log_append(llvm::raw_string_ostream &ss, const char *t) { + ss << t; +} template void log_helper(llvm::raw_string_ostream &ss, const Head &head) {