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
88a43a93
Commit
88a43a93
authored
Aug 14, 2013
by
Tristan Matthews
Browse files
* #28351: sdes_negotiator: use unique_ptr instead of shared_ptr
parent
14758e0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
daemon/src/sip/sdes_negotiator.cpp
View file @
88a43a93
...
...
@@ -32,7 +32,7 @@
#include "pattern.h"
#include <cstdio>
#include <
tr1/
memory>
#include <memory>
#include <iostream>
#include <sstream>
#include <algorithm>
...
...
@@ -61,7 +61,7 @@ std::vector<CryptoAttribute *> SdesNegotiator::parse()
// syntax :
//a=crypto:tag 1*WSP crypto-suite 1*WSP key-params *(1*WSP session-param)
std
::
tr1
::
shared
_ptr
<
Pattern
>
generalSyntaxPattern
,
tagPattern
,
cryptoSuitePattern
,
std
::
unique
_ptr
<
Pattern
>
generalSyntaxPattern
,
tagPattern
,
cryptoSuitePattern
,
keyParamsPattern
;
try
{
...
...
Write
Preview
Markdown
is supported
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