Make scoped_temp_file non-copyable, as it should

This commit is contained in:
Gennaro Prota
2025-07-07 10:27:52 +02:00
parent 963cc09f3c
commit d839f23916

View File

@@ -65,6 +65,9 @@ public:
{
}
scoped_temp_file( const scoped_temp_file & ) = delete;
scoped_temp_file & operator=( const scoped_temp_file & ) = delete;
~scoped_temp_file()
{
boost::filesystem::remove( m_path );