From 39ac8c969bd72a43fb1994e155f5065f9a350b8e Mon Sep 17 00:00:00 2001 From: Fabian Sauter Date: Sat, 21 Dec 2024 15:36:24 +0100 Subject: [PATCH] Clang-Tidy --- cpr/callback.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpr/callback.cpp b/cpr/callback.cpp index 3b0ab5418..3221f169c 100644 --- a/cpr/callback.cpp +++ b/cpr/callback.cpp @@ -57,7 +57,7 @@ using custom_unique_ptr = std::unique_ptr>; using x509_ptr = custom_unique_ptr; using bio_ptr = custom_unique_ptr; -inline std::string get_openssl_print_errors() { +static inline std::string get_openssl_print_errors() { std::ostringstream oss; ERR_print_errors_cb( [](char const* str, size_t len, void* data) -> int {