* spot/misc/tmpfile.hh: Disallow copy.

This commit is contained in:
Alexandre Duret-Lutz 2016-05-01 18:35:55 +02:00
parent a1b3b065fa
commit 52e722c818

View file

@ -52,6 +52,9 @@ namespace spot
typedef std::list<temporary_file*>::iterator cleanpos_t; typedef std::list<temporary_file*>::iterator cleanpos_t;
SPOT_LOCAL temporary_file(char* name, cleanpos_t cp); SPOT_LOCAL temporary_file(char* name, cleanpos_t cp);
temporary_file(const temporary_file& other) = delete;
virtual ~temporary_file() override; virtual ~temporary_file() override;
const char* name() const const char* name() const