mirror of
https://github.com/pocoproject/poco.git
synced 2025-06-03 13:31:52 +02:00
fix from old trunk for TemporaryFile
This commit is contained in:
parent
1e2b816d7e
commit
53fe184bfa
@ -62,7 +62,8 @@ public:
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
File f(*it);
|
File f(*it);
|
||||||
f.remove(true);
|
if (f.exists())
|
||||||
|
f.remove(true);
|
||||||
}
|
}
|
||||||
catch (Exception&)
|
catch (Exception&)
|
||||||
{
|
{
|
||||||
@ -80,7 +81,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
std::set<std::string> _files;
|
std::set<std::string> _files;
|
||||||
FastMutex _mutex;
|
FastMutex _mutex;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user