Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
9b2451fa
Kaydet (Commit)
9b2451fa
authored
Şub 06, 2012
tarafından
Thorsten Behrens
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add missing operator++/-- overloads to kludge class.
(to fix the build after the cppcheck cleanup)
üst
bcb9328d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
list.hxx
hwpfilter/source/list.hxx
+16
-0
No files found.
hwpfilter/source/list.hxx
Dosyayı görüntüle @
9b2451fa
...
...
@@ -95,6 +95,8 @@ public:
// bug-compatible with original LinkedList.h/cxx: Ignore parameter!
void
operator
++
(
int
);
/// advance iterator by one step (ignore n !!!)
void
operator
--
(
int
);
/// go one step backwards (ignore n !!!)
void
operator
++
();
/// advance iterator by one step
void
operator
--
();
/// go one step backwards
private
:
bool
valid
();
...
...
@@ -274,6 +276,20 @@ void LinkedListIterator<T>::operator--( int )
mnPosition
--
;
}
template
<
class
T
>
void
LinkedListIterator
<
T
>::
operator
++
()
{
ASSERT
(
mpList
!=
NULL
);
mnPosition
++
;
}
template
<
class
T
>
void
LinkedListIterator
<
T
>::
operator
--
()
{
ASSERT
(
mpList
!=
NULL
);
mnPosition
--
;
}
template
<
class
T
>
bool
LinkedListIterator
<
T
>::
valid
()
{
...
...
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