aboutsummaryrefslogtreecommitdiff
path: root/llvm/include/llvm/ProfileData/DataAccessProf.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/ProfileData/DataAccessProf.h')
-rw-r--r--llvm/include/llvm/ProfileData/DataAccessProf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ProfileData/DataAccessProf.h b/llvm/include/llvm/ProfileData/DataAccessProf.h
index 608306f..ea256ef 100644
--- a/llvm/include/llvm/ProfileData/DataAccessProf.h
+++ b/llvm/include/llvm/ProfileData/DataAccessProf.h
@@ -42,7 +42,7 @@ struct SourceLocation {
: FileName(FileNameRef.str()), Line(Line) {}
// Empty constructor is used in yaml conversion.
- SourceLocation() {}
+ SourceLocation() = default;
/// The filename where the data is located.
std::string FileName;
/// The line number in the source code.