test::handler copies the source location.

This commit is contained in:
Klemens
2022-12-20 15:08:40 +08:00
committed by Klemens Morgenstern
parent b9ed7fa6d3
commit 027c544a3a

View File

@@ -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_)
{
}