Commit 88a43a93 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #28351: sdes_negotiator: use unique_ptr instead of shared_ptr

parent 14758e0a
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#include "pattern.h" #include "pattern.h"
#include <cstdio> #include <cstdio>
#include <tr1/memory> #include <memory>
#include <iostream> #include <iostream>
#include <sstream> #include <sstream>
#include <algorithm> #include <algorithm>
...@@ -61,7 +61,7 @@ std::vector<CryptoAttribute *> SdesNegotiator::parse() ...@@ -61,7 +61,7 @@ std::vector<CryptoAttribute *> SdesNegotiator::parse()
// syntax : // syntax :
//a=crypto:tag 1*WSP crypto-suite 1*WSP key-params *(1*WSP session-param) //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; keyParamsPattern;
try { try {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment