diff --git a/cpp/include/kvikio/shim/libcurl.hpp b/cpp/include/kvikio/shim/libcurl.hpp index 0e6f49703e..1bd3683d93 100644 --- a/cpp/include/kvikio/shim/libcurl.hpp +++ b/cpp/include/kvikio/shim/libcurl.hpp @@ -156,7 +156,7 @@ class CurlHandle { * @param source_file Path of source file of the caller (for error messages). * @param source_line Line of source file of the caller (for error messages). */ - CurlHandle(LibCurl::UniqueHandlePtr handle, char* const source_file, std::string source_line) + CurlHandle(LibCurl::UniqueHandlePtr handle, char const* source_file, std::string source_line) : _handle{std::move(handle)}, _source_file(source_file), _source_line(std::move(source_line)) { // Need CURLOPT_NOSIGNAL to support threading, see