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
cf120f99
Commit
cf120f99
authored
Aug 14, 2013
by
Tristan Matthews
Browse files
* #28351: sdes_negotiator: use range-based for loops
parent
f5417983
Changes
1
Hide whitespace changes
Inline
Side-by-side
daemon/src/sip/sdes_negotiator.cpp
View file @
cf120f99
...
...
@@ -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
();
...
...
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