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
14bcb68c
Kaydet (Commit)
14bcb68c
authored
Eyl 19, 2016
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
o3tl: replace yet another sal_Size with std::size_t
Change-Id: I3f6a401d6d5ed7b44a71dc8bda559dcc4d57ee32
üst
3f736b99
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
cow_wrapper.hxx
include/o3tl/cow_wrapper.hxx
+2
-1
No files found.
include/o3tl/cow_wrapper.hxx
Dosyayı görüntüle @
14bcb68c
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
#include <osl/interlck.h>
#include <osl/interlck.h>
#include <utility>
#include <utility>
#include <cstddef>
namespace
o3tl
namespace
o3tl
{
{
...
@@ -34,7 +35,7 @@ namespace o3tl
...
@@ -34,7 +35,7 @@ namespace o3tl
*/
*/
struct
UnsafeRefCountingPolicy
struct
UnsafeRefCountingPolicy
{
{
typedef
s
al_Size
ref_count_t
;
typedef
s
td
::
size_t
ref_count_t
;
static
void
incrementCount
(
ref_count_t
&
rCount
)
{
++
rCount
;
}
static
void
incrementCount
(
ref_count_t
&
rCount
)
{
++
rCount
;
}
static
bool
decrementCount
(
ref_count_t
&
rCount
)
{
return
--
rCount
!=
0
;
}
static
bool
decrementCount
(
ref_count_t
&
rCount
)
{
return
--
rCount
!=
0
;
}
};
};
...
...
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