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
bd6dfbae
Kaydet (Commit)
bd6dfbae
authored
Ara 12, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove unused ctor variant
Change-Id: I0c9afcb5819fc83f75ee8c639de56b788c3d516d
üst
abe9d146
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
SlsRequestQueue.cxx
sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx
+13
-5
No files found.
sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx
Dosyayı görüntüle @
bd6dfbae
...
@@ -49,11 +49,19 @@ public:
...
@@ -49,11 +49,19 @@ public:
This just establishes an order so that the STL containers are happy.
This just establishes an order so that the STL containers are happy.
The order is not semantically interpreted.
The order is not semantically interpreted.
*/
*/
class
DataComparator
{
public
:
class
DataComparator
DataComparator
(
const
Request
&
rRequest
)
:
maKey
(
rRequest
.
maKey
){}
{
DataComparator
(
const
CacheKey
aKey
)
:
maKey
(
aKey
){}
public
:
bool
operator
()
(
const
Request
&
rRequest
)
{
return
maKey
==
rRequest
.
maKey
;
}
DataComparator
(
const
CacheKey
aKey
)
private
:
const
CacheKey
maKey
;
:
maKey
(
aKey
)
{
}
bool
operator
()
(
const
Request
&
rRequest
)
const
{
return
maKey
==
rRequest
.
maKey
;
}
private
:
const
CacheKey
maKey
;
};
};
CacheKey
maKey
;
CacheKey
maKey
;
...
...
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