diff --git a/tests/dCommonTests/AMFDeserializeTests.cpp b/tests/dCommonTests/AMFDeserializeTests.cpp index 0a8c0ac7..759e6fc4 100644 --- a/tests/dCommonTests/AMFDeserializeTests.cpp +++ b/tests/dCommonTests/AMFDeserializeTests.cpp @@ -213,7 +213,7 @@ TEST(dCommonTests, AMFDeserializeUnimplementedValuesTest) { bool caughtException = false; try { ReadFromBitStream(testBitStream); - } catch (eAmf unimplementedValueType) { + } catch (std::exception& e) { caughtException = true; }