fix: change NULL to nullptr

This commit is contained in:
Gilad S 2024-12-11 02:14:13 +02:00
parent c4b78a035e
commit e950fe63ae

View file

@ -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<std::string> search_paths;
if (user_search_path == NULL) {
if (user_search_path == nullptr) {
search_paths.push_back("./");
search_paths.push_back(get_executable_path());
} else {