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 @@
#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 {
......
Supports Markdown
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