diff --git a/include/boost/beast/_experimental/test/handler.hpp b/include/boost/beast/_experimental/test/handler.hpp index e118c09c..09bf09ce 100644 --- a/include/boost/beast/_experimental/test/handler.hpp +++ b/include/boost/beast/_experimental/test/handler.hpp @@ -50,10 +50,10 @@ public: { } - handler(handler&& other,boost::source_location loc = BOOST_CURRENT_LOCATION) + handler(handler&& other) : ec_(other.ec_) , pass_(boost::exchange(other.pass_, true)) - , loc_(loc) + , loc_(other.loc_) { }