STORM-2132: Remove obsoleted unique_ptr.hpp, use make_shared for pointer allocation.
parent
2c68d02395
commit
664f1f9b6f
|
|
@ -42,6 +42,8 @@
|
|||
|
||||
#include "llsdutil.h" // <FS:ND/> for ll_pretty_print_sd
|
||||
|
||||
#include "boost/make_shared.hpp"
|
||||
|
||||
namespace LLEventPolling
|
||||
{
|
||||
namespace Details
|
||||
|
|
@ -302,7 +304,7 @@ namespace Details
|
|||
LLEventPoll::LLEventPoll(const std::string& poll_url, const LLHost& sender):
|
||||
mImpl()
|
||||
{
|
||||
mImpl = boost::shared_ptr<LLEventPolling::Details::LLEventPollImpl>(new LLEventPolling::Details::LLEventPollImpl(sender));
|
||||
mImpl = boost::make_shared<LLEventPolling::Details::LLEventPollImpl>(sender);
|
||||
mImpl->start(poll_url);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -27,12 +27,6 @@
|
|||
#ifndef LL_LLEVENTPOLL_H
|
||||
#define LL_LLEVENTPOLL_H
|
||||
|
||||
#include "boost/move/unique_ptr.hpp"
|
||||
|
||||
namespace boost
|
||||
{
|
||||
using ::boost::movelib::unique_ptr; // move unique_ptr into the boost namespace.
|
||||
}
|
||||
|
||||
class LLHost;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue