message: Address leak warning in uri
diff: #include "caf/intrusive_cow_ptr.hpp"
  #include "caf/intrusive_ptr.hpp"
  #include "caf/ip_address.hpp"
  +#include "caf/make_counted.hpp"
  #include "caf/string_view.hpp"
  #include "caf/variant.hpp"
  @@ -273,8 +274,10 @@ struct inspector_access<uri> : inspector_access_base<uri> {
  return f.object(x).fields(f.field("value", get, set));
  } else {
  if constexpr (Inspector::is_loading)
  - if (!x.impl_->unique())
  - x.impl_.reset(new uri::impl_type);
  + if (!x.impl_->unique()) {
  + x.impl_.reset();
  + x.impl_ = make_counted<uri::impl_type>();
  + }
  return inspect(f, *x.impl_);
  }
  }
  @@ -290,8 +293,10 @@ struct inspector_access<uri> : inspector_access_base<uri> {
  return detail::split_save_load(f, get, set);
  } else {
  if constexpr (Inspector::is_loading)
  - if (!x.impl_->unique())
  - x.impl_.reset(new uri::impl_type);
  + if (!x.impl_->unique()){
  + x.impl_.reset();
  + x.impl_ = make_counted<uri::impl_type>();
  + }
  return inspect(f, *x.impl_);
  }
  }
  