11 lines
481 B
Diff
11 lines
481 B
Diff
--- src/core/CLucene/index/SegmentInfos.cpp
|
|
+++ src/core/CLucene/index/SegmentInfos.cpp
|
|
@@ -358,7 +358,7 @@
|
|
if (delGen == NO) {
|
|
// In this case we know there is no deletion filename
|
|
// against this segment
|
|
- return NULL;
|
|
+ return {};
|
|
} else {
|
|
// If delGen is CHECK_DIR, it's the pre-lockless-commit file format
|
|
return IndexFileNames::fileNameFromGeneration(name.c_str(), (string(".") + IndexFileNames::DELETES_EXTENSION).c_str(), delGen);
|