VERIFY( !exists(to) );
// test empty file
- std::ofstream{from.native()};
+ std::ofstream{from};
VERIFY( exists(from) );
VERIFY( file_size(from) == 0 );
VERIFY( exists(to) );
VERIFY( file_size(to) == 0 );
- std::ofstream{from.native()} << "Hello, filesystem!";
+ std::ofstream{from} << "Hello, filesystem!";
VERIFY( file_size(from) != 0 );
remove(to);
VERIFY( !exists(to) );