Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
c0407af8
Commit
c0407af8
authored
8 years ago
by
Rider Linden
Browse files
Options
Downloads
Patches
Plain Diff
STORM-2132: Remove obsoleted unique_ptr.hpp, use make_shared for pointer allocation.
parent
c1c9b3d7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/newview/lleventpoll.cpp
+3
-1
3 additions, 1 deletion
indra/newview/lleventpoll.cpp
indra/newview/lleventpoll.h
+0
-6
0 additions, 6 deletions
indra/newview/lleventpoll.h
with
3 additions
and
7 deletions
indra/newview/lleventpoll.cpp
+
3
−
1
View file @
c0407af8
...
@@ -40,6 +40,8 @@
...
@@ -40,6 +40,8 @@
#include
"llcorehttputil.h"
#include
"llcorehttputil.h"
#include
"lleventfilter.h"
#include
"lleventfilter.h"
#include
"boost/make_shared.hpp"
namespace
LLEventPolling
namespace
LLEventPolling
{
{
namespace
Details
namespace
Details
...
@@ -273,7 +275,7 @@ namespace Details
...
@@ -273,7 +275,7 @@ namespace Details
LLEventPoll
::
LLEventPoll
(
const
std
::
string
&
poll_url
,
const
LLHost
&
sender
)
:
LLEventPoll
::
LLEventPoll
(
const
std
::
string
&
poll_url
,
const
LLHost
&
sender
)
:
mImpl
()
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
);
mImpl
->
start
(
poll_url
);
}
}
...
...
This diff is collapsed.
Click to expand it.
indra/newview/lleventpoll.h
+
0
−
6
View file @
c0407af8
...
@@ -27,12 +27,6 @@
...
@@ -27,12 +27,6 @@
#ifndef LL_LLEVENTPOLL_H
#ifndef LL_LLEVENTPOLL_H
#define 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
;
class
LLHost
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment