Skip to content

Commit e950fe6

Browse files
committed
fix: change NULL to nullptr
1 parent c4b78a0 commit e950fe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-backend-reg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ static ggml_backend_reg_t ggml_backend_load_best(const char * name, bool silent,
454454
// TODO: search system paths
455455
std::string file_prefix = backend_filename_prefix() + name + "-";
456456
std::vector<std::string> search_paths;
457-
if (user_search_path == NULL) {
457+
if (user_search_path == nullptr) {
458458
search_paths.push_back("./");
459459
search_paths.push_back(get_executable_path());
460460
} else {

0 commit comments

Comments
 (0)