Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
30a0aa26
Commit
30a0aa26
authored
Nov 12, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
C++: use prefix iterators instead of postfix.
parent
edd97944
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
modules/demux/mkv/chapters.cpp
modules/demux/mkv/chapters.cpp
+1
-1
modules/demux/mkv/matroska_segment.cpp
modules/demux/mkv/matroska_segment.cpp
+3
-3
modules/gui/qt4/components/epg/EPGWidget.cpp
modules/gui/qt4/components/epg/EPGWidget.cpp
+1
-1
modules/gui/qt4/components/playlist/playlist_model.cpp
modules/gui/qt4/components/playlist/playlist_model.cpp
+1
-1
modules/gui/skins2/src/theme_loader.cpp
modules/gui/skins2/src/theme_loader.cpp
+1
-1
No files found.
modules/demux/mkv/chapters.cpp
View file @
30a0aa26
...
...
@@ -383,7 +383,7 @@ mtime_t chapter_edition_c::Duration() const
if
(
sub_chapters
.
size
()
)
{
std
::
vector
<
chapter_item_c
*>::
const_iterator
index
=
sub_chapters
.
end
();
index
--
;
--
index
;
i_result
=
(
*
index
)
->
i_user_end_time
;
}
...
...
modules/demux/mkv/matroska_segment.cpp
View file @
30a0aa26
...
...
@@ -70,19 +70,19 @@ matroska_segment_c::~matroska_segment_c()
while
(
index
!=
stored_editions
.
end
()
)
{
delete
(
*
index
);
index
++
;
++
index
;
}
std
::
vector
<
chapter_translation_c
*>::
iterator
indext
=
translations
.
begin
();
while
(
indext
!=
translations
.
end
()
)
{
delete
(
*
indext
);
indext
++
;
++
indext
;
}
std
::
vector
<
KaxSegmentFamily
*>::
iterator
indexf
=
families
.
begin
();
while
(
indexf
!=
families
.
end
()
)
{
delete
(
*
indexf
);
indexf
++
;
++
indexf
;
}
}
...
...
modules/gui/qt4/components/epg/EPGWidget.cpp
View file @
30a0aa26
...
...
@@ -124,7 +124,7 @@ void EPGWidget::updateEPG( vlc_epg_t **pp_epg, int i_epg )
{
m_epgView
->
delEvent
(
item
);
delete
item
;
i
--
;
--
i
;
m_events
.
erase
(
i
+
1
);
}
else
...
...
modules/gui/qt4/components/playlist/playlist_model.cpp
View file @
30a0aa26
...
...
@@ -553,7 +553,7 @@ PLItem * PLModel::findInner( PLItem *root, int i_id, bool b_input ) const
if
(
childFound
)
return
childFound
;
}
it
++
;
++
it
;
}
return
NULL
;
}
...
...
modules/gui/skins2/src/theme_loader.cpp
View file @
30a0aa26
...
...
@@ -296,7 +296,7 @@ bool ThemeLoader::extract( const string &fileName )
// Look for winamp2.xml in the resource path
list
<
string
>
resPath
=
pOsFactory
->
getResourcePath
();
list
<
string
>::
const_iterator
it
;
for
(
it
=
resPath
.
begin
();
it
!=
resPath
.
end
();
it
++
)
for
(
it
=
resPath
.
begin
();
it
!=
resPath
.
end
();
++
it
)
{
if
(
findFile
(
*
it
,
WINAMP2_XML_FILE
,
xmlFile
)
)
break
;
...
...
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