make sure a TempDir class cant be copied

This commit is contained in:
Jean-Francois Dockes 2012-10-28 16:48:05 +01:00
parent 21c9c6ffb3
commit d8e711a096

View file

@ -101,6 +101,8 @@ public:
private: private:
string m_dirname; string m_dirname;
string m_reason; string m_reason;
TempDir(const TempDir &) {}
TempDir& operator=(const TempDir &) {return *this;};
}; };
/// Lock/pid file class. This is quite close to the pidfile_xxx /// Lock/pid file class. This is quite close to the pidfile_xxx