diff --git a/CHANGELOG.md b/CHANGELOG.md index dcb4df9c..e9042525 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +Version XXX: + +* Move library-specific docca configuration to Beast. +* Remove dependency on RTTI in `test::stream`. + +-------------------------------------------------------------------------------- + Version 320: * Fix missing includes in `stream_state`. diff --git a/include/boost/beast/_experimental/test/stream.hpp b/include/boost/beast/_experimental/test/stream.hpp index f9626923..f404cbca 100644 --- a/include/boost/beast/_experimental/test/stream.hpp +++ b/include/boost/beast/_experimental/test/stream.hpp @@ -214,7 +214,7 @@ public: : in_(std::move(other.in_)) , out_(std::move(other.out_)) { - assert(in_->exec.target_type() == typeid(Executor2)); + BOOST_ASSERT(in_->exec.template target() != nullptr); in_->exec = executor_type(*in_->exec.template target()); }