mirror of
https://github.com/boostorg/dynamic_bitset.git
synced 2026-01-19 04:12:09 +00:00
Make scoped_temp_file non-copyable, as it should
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user