diff options
Diffstat (limited to 'Source/cmQtAutoGenerator.cxx')
-rw-r--r-- | Source/cmQtAutoGenerator.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmQtAutoGenerator.cxx b/Source/cmQtAutoGenerator.cxx index bf184d8..750e1ed 100644 --- a/Source/cmQtAutoGenerator.cxx +++ b/Source/cmQtAutoGenerator.cxx @@ -367,10 +367,11 @@ bool cmQtAutoGenerator::FileSystem::FileRemove(std::string const& filename) return cmSystemTools::RemoveFile(filename); } -bool cmQtAutoGenerator::FileSystem::Touch(std::string const& filename) +bool cmQtAutoGenerator::FileSystem::Touch(std::string const& filename, + bool create) { std::lock_guard<std::mutex> lock(Mutex_); - return cmSystemTools::Touch(filename, false); + return cmSystemTools::Touch(filename, create); } bool cmQtAutoGenerator::FileSystem::MakeDirectory(std::string const& dirname) |