aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/llvm/lib/LineEditor/LineEditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/llvm/lib/LineEditor/LineEditor.cpp')
-rw-r--r--contrib/llvm-project/llvm/lib/LineEditor/LineEditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/llvm-project/llvm/lib/LineEditor/LineEditor.cpp b/contrib/llvm-project/llvm/lib/LineEditor/LineEditor.cpp
index 37c4b79f8e29..09ec65a1d9c9 100644
--- a/contrib/llvm-project/llvm/lib/LineEditor/LineEditor.cpp
+++ b/contrib/llvm-project/llvm/lib/LineEditor/LineEditor.cpp
@@ -29,8 +29,8 @@ std::string LineEditor::getDefaultHistoryPath(StringRef ProgName) {
return std::string();
}
-LineEditor::CompleterConcept::~CompleterConcept() {}
-LineEditor::ListCompleterConcept::~ListCompleterConcept() {}
+LineEditor::CompleterConcept::~CompleterConcept() = default;
+LineEditor::ListCompleterConcept::~ListCompleterConcept() = default;
std::string LineEditor::ListCompleterConcept::getCommonPrefix(
const std::vector<Completion> &Comps) {