Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
221644c3
Commit
221644c3
authored
Aug 14, 2013
by
Tristan Matthews
Browse files
* #28351: mainbuffertest: use unique_ptr instead of shared_ptr
parent
88a43a93
Changes
1
Show whitespace changes
Inline
Side-by-side
daemon/test/mainbuffertest.h
View file @
221644c3
...
...
@@ -37,7 +37,7 @@
#include
<cppunit/TestCase.h>
#include
<cppunit/TestSuite.h>
#include
<
tr1/
memory>
#include
<memory>
class
MainBuffer
;
/*
...
...
@@ -103,7 +103,7 @@ class MainBufferTest : public CppUnit::TestCase {
private:
std
::
tr1
::
shared
_ptr
<
MainBuffer
>
mainbuffer_
;
std
::
unique
_ptr
<
MainBuffer
>
mainbuffer_
;
};
/* Register our test module */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment