Adapt for libdcp use of enum class.
[dcpomatic.git] / test / recover_test.cc
index 84e6a74e3984e96943ef6eaca52b83c1bf1c3f2a..13cb37a07c873c72fdfbb240b7f1bdccba3b8255 100644 (file)
@@ -20,7 +20,7 @@
 
 /** @file  test/recover_test.cc
  *  @brief Test recovery of a DCP transcode after a crash.
- *  @ingroup specific
+ *  @ingroup feature
  */
 
 #include "test.h"
@@ -37,7 +37,7 @@
 
 using std::cout;
 using std::string;
-using boost::shared_ptr;
+using std::shared_ptr;
 #if BOOST_VERSION >= 106100
 using namespace boost::placeholders;
 #endif
@@ -45,7 +45,7 @@ using namespace boost::placeholders;
 static void
 note (dcp::NoteType t, string n)
 {
-       if (t == dcp::DCP_ERROR) {
+       if (t == dcp::NoteType::ERROR) {
                cout << n << "\n";
        }
 }