Commit cf120f99 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #28351: sdes_negotiator: use range-based for loops

parent f5417983
......@@ -93,14 +93,13 @@ std::vector<CryptoAttribute *> SdesNegotiator::parse()
std::vector<CryptoAttribute *> cryptoAttributeVector;
for (std::vector<std::string>::iterator iter = remoteAttribute_.begin();
iter != remoteAttribute_.end(); ++iter) {
for (const auto &iter : remoteAttribute_) {
// Split the line into its component
// that we will analyze further down.
std::vector<std::string> sdesLine;
*generalSyntaxPattern << (*iter);
*generalSyntaxPattern << iter;
try {
sdesLine = generalSyntaxPattern->split();
......
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