boost::log::sources::swap
// In header: <boost/log/sources/threading_models.hpp> void swap(single_thread_model &, single_thread_model &);