summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmListFileCache.h')
-rw-r--r--Source/cmListFileCache.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmListFileCache.h b/Source/cmListFileCache.h
index 529c389..e7b1c87 100644
--- a/Source/cmListFileCache.h
+++ b/Source/cmListFileCache.h
@@ -29,12 +29,12 @@ struct cmCommandContext
{
std::string Lower;
std::string Original;
- cmCommandName() {}
+ cmCommandName() = default;
cmCommandName(std::string const& name) { *this = name; }
cmCommandName& operator=(std::string const& name);
} Name;
long Line = 0;
- cmCommandContext() {}
+ cmCommandContext() = default;
cmCommandContext(const char* name, int line)
: Name(name)
, Line(line)
@@ -50,7 +50,7 @@ struct cmListFileArgument
Quoted,
Bracket
};
- cmListFileArgument() {}
+ cmListFileArgument() = default;
cmListFileArgument(std::string v, Delimiter d, long line)
: Value(std::move(v))
, Delim(d)
@@ -73,7 +73,7 @@ public:
std::string Name;
std::string FilePath;
long Line = 0;
- cmListFileContext() {}
+ cmListFileContext() = default;
static cmListFileContext FromCommandContext(cmCommandContext const& lfcc,
std::string const& fileName)