From e950fe63aec71419768f26e2ae7c6eda3fc6b384 Mon Sep 17 00:00:00 2001 From: Gilad S Date: Wed, 11 Dec 2024 02:14:13 +0200 Subject: [PATCH] fix: change `NULL` to `nullptr` --- ggml/src/ggml-backend-reg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml/src/ggml-backend-reg.cpp b/ggml/src/ggml-backend-reg.cpp index 829bd621e..2e7340145 100644 --- a/ggml/src/ggml-backend-reg.cpp +++ b/ggml/src/ggml-backend-reg.cpp @@ -454,7 +454,7 @@ static ggml_backend_reg_t ggml_backend_load_best(const char * name, bool silent, // TODO: search system paths std::string file_prefix = backend_filename_prefix() + name + "-"; std::vector search_paths; - if (user_search_path == NULL) { + if (user_search_path == nullptr) { search_paths.push_back("./"); search_paths.push_back(get_executable_path()); } else {