STORM-2132: Remove obsoleted unique_ptr.hpp, use make_shared for pointer allocation.

master
Rider Linden 2016-07-12 11:07:05 -07:00
parent 2c68d02395
commit 664f1f9b6f
2 changed files with 3 additions and 7 deletions

View File

@ -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);
}

View File

@ -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;