diff options
Diffstat (limited to 'searchlib/src/vespa/searchlib/common/documentlocations.cpp')
-rw-r--r-- | searchlib/src/vespa/searchlib/common/documentlocations.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/searchlib/src/vespa/searchlib/common/documentlocations.cpp b/searchlib/src/vespa/searchlib/common/documentlocations.cpp index eeddd04b2e5..cd3cb15a446 100644 --- a/searchlib/src/vespa/searchlib/common/documentlocations.cpp +++ b/searchlib/src/vespa/searchlib/common/documentlocations.cpp @@ -4,19 +4,17 @@ #include <vespa/searchlib/attribute/attributeguard.h> #include <vespa/searchlib/attribute/attributevector.h> -namespace search { -namespace common { +namespace search::common { DocumentLocations::DocumentLocations() - : _vec(NULL) + : _vec(nullptr) { } -DocumentLocations::~DocumentLocations() { } +DocumentLocations::~DocumentLocations() = default; DocumentLocations::DocumentLocations(DocumentLocations &&) = default; DocumentLocations & DocumentLocations::operator = (DocumentLocations &&) = default; -} // namespace common -} // namespace search +} |