diff options
Diffstat (limited to 'test/image_test.cc')
| -rw-r--r-- | test/image_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/image_test.cc b/test/image_test.cc index 3d599b82d..88bb00b8d 100644 --- a/test/image_test.cc +++ b/test/image_test.cc @@ -34,7 +34,7 @@ using std::string; using std::list; using std::cout; -using boost::shared_ptr; +using std::shared_ptr; BOOST_AUTO_TEST_CASE (aligned_image_test) { @@ -460,9 +460,9 @@ BOOST_AUTO_TEST_CASE (make_black_test) int N = 0; for (list<AVPixelFormat>::const_iterator i = pix_fmts.begin(); i != pix_fmts.end(); ++i) { - boost::shared_ptr<Image> foo (new Image (*i, in_size, true)); + std::shared_ptr<Image> foo (new Image (*i, in_size, true)); foo->make_black (); - boost::shared_ptr<Image> bar = foo->scale (out_size, dcp::YUV_TO_RGB_REC601, AV_PIX_FMT_RGB24, true, false); + std::shared_ptr<Image> bar = foo->scale (out_size, dcp::YUV_TO_RGB_REC601, AV_PIX_FMT_RGB24, true, false); uint8_t* p = bar->data()[0]; for (int y = 0; y < bar->size().height; ++y) { |
