fix from old trunk for TemporaryFile

This commit is contained in:
Marian Krivos 2012-04-29 10:52:55 +00:00
parent 1e2b816d7e
commit 53fe184bfa

View File

@ -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;
}; };