mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-04-21 19:08:41 +00:00
chore: use TextFileCheckDirtyOutput for RawTemplater
This commit is contained in:
@@ -67,6 +67,12 @@ namespace utils
|
||||
return true;
|
||||
}
|
||||
|
||||
TextFileCheckDirtyOutput::TextFileCheckDirtyOutput()
|
||||
: m_open(false),
|
||||
m_has_existing_file(false)
|
||||
{
|
||||
}
|
||||
|
||||
TextFileCheckDirtyOutput::TextFileCheckDirtyOutput(fs::path path)
|
||||
: m_path(std::move(path)),
|
||||
m_open(false),
|
||||
|
||||
@@ -32,6 +32,7 @@ namespace utils
|
||||
class TextFileCheckDirtyOutput final
|
||||
{
|
||||
public:
|
||||
TextFileCheckDirtyOutput();
|
||||
explicit TextFileCheckDirtyOutput(std::filesystem::path path);
|
||||
~TextFileCheckDirtyOutput();
|
||||
TextFileCheckDirtyOutput(const TextFileCheckDirtyOutput& other) = delete;
|
||||
|
||||
Reference in New Issue
Block a user