Skip to content

Commit dfdcbf1

Browse files
committed
remove redundant parameter in TempFile::Create
1 parent 8851b7b commit dfdcbf1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

IntelPresentMon/CommonUtilities/file/TempFile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace pmon::util::file
2424
fs::remove(path_);
2525
}
2626
}
27-
TempFile TempFile::Create(const std::string& nameIn)
27+
TempFile TempFile::Create()
2828
{
2929
return CreateAt(fs::temp_directory_path());
3030
}

IntelPresentMon/CommonUtilities/file/TempFile.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace pmon::util::file
2121
bool Empty() const;
2222
operator bool() const;
2323

24-
static TempFile Create(const std::string& name = {});
24+
static TempFile Create();
2525
static TempFile CreateAt(const std::filesystem::path& path, const std::string& name = {});
2626
static TempFile AdoptExisting(const std::filesystem::path& path);
2727
static std::string MakeRandomName();

0 commit comments

Comments
 (0)