+ replace auto_ptr with unique_ptr
This commit is contained in:
parent
4f4e2b001e
commit
4a2f59d9d1
1 changed files with 2 additions and 2 deletions
|
@ -75,8 +75,8 @@ int main(int argc, char** argv)
|
|||
BOOST_TEST( type );
|
||||
try
|
||||
{
|
||||
std::auto_ptr<mapnik::image_reader> reader(mapnik::get_image_reader(should_throw,*type));
|
||||
if (reader.get()) BOOST_TEST( false );
|
||||
std::unique_ptr<mapnik::image_reader> reader(mapnik::get_image_reader(should_throw,*type));
|
||||
BOOST_TEST( false );
|
||||
}
|
||||
catch (std::exception const&)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue