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
9f3906f1
Kaydet (Commit)
9f3906f1
authored
Eyl 12, 2016
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1371178 Missing move assignment operator
Change-Id: Ib7df699269bcacd5dbf64662c47b538aee9235a5
üst
1d7dd96e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
0 deletions
+28
-0
cow_wrapper_clients.cxx
o3tl/qa/cow_wrapper_clients.cxx
+24
-0
cow_wrapper_clients.hxx
o3tl/qa/cow_wrapper_clients.hxx
+4
-0
No files found.
o3tl/qa/cow_wrapper_clients.cxx
Dosyayı görüntüle @
9f3906f1
...
...
@@ -56,6 +56,11 @@ cow_wrapper_client2::cow_wrapper_client2( const cow_wrapper_client2& rSrc ) :
{
}
cow_wrapper_client2
::
cow_wrapper_client2
(
cow_wrapper_client2
&&
rSrc
)
:
maImpl
(
std
::
move
(
rSrc
.
maImpl
)
)
{
}
cow_wrapper_client2
&
cow_wrapper_client2
::
operator
=
(
const
cow_wrapper_client2
&
rSrc
)
{
maImpl
=
rSrc
.
maImpl
;
...
...
@@ -63,6 +68,13 @@ cow_wrapper_client2& cow_wrapper_client2::operator=( const cow_wrapper_client2&
return
*
this
;
}
cow_wrapper_client2
&
cow_wrapper_client2
::
operator
=
(
cow_wrapper_client2
&&
rSrc
)
{
maImpl
=
std
::
move
(
rSrc
.
maImpl
);
return
*
this
;
}
void
cow_wrapper_client2
::
modify
(
int
nVal
)
{
maImpl
->
setValue
(
nVal
);
...
...
@@ -122,6 +134,11 @@ cow_wrapper_client3::cow_wrapper_client3( const cow_wrapper_client3& rSrc ) :
{
}
cow_wrapper_client3
::
cow_wrapper_client3
(
cow_wrapper_client3
&&
rSrc
)
:
maImpl
(
std
::
move
(
rSrc
.
maImpl
)
)
{
}
cow_wrapper_client3
&
cow_wrapper_client3
::
operator
=
(
const
cow_wrapper_client3
&
rSrc
)
{
maImpl
=
rSrc
.
maImpl
;
...
...
@@ -129,6 +146,13 @@ cow_wrapper_client3& cow_wrapper_client3::operator=( const cow_wrapper_client3&
return
*
this
;
}
cow_wrapper_client3
&
cow_wrapper_client3
::
operator
=
(
cow_wrapper_client3
&&
rSrc
)
{
maImpl
=
std
::
move
(
rSrc
.
maImpl
);
return
*
this
;
}
void
cow_wrapper_client3
::
modify
(
int
nVal
)
{
maImpl
->
setValue
(
nVal
);
...
...
o3tl/qa/cow_wrapper_clients.hxx
Dosyayı görüntüle @
9f3906f1
...
...
@@ -69,7 +69,9 @@ public:
~
cow_wrapper_client2
();
cow_wrapper_client2
(
const
cow_wrapper_client2
&
);
cow_wrapper_client2
(
cow_wrapper_client2
&&
);
cow_wrapper_client2
&
operator
=
(
const
cow_wrapper_client2
&
);
cow_wrapper_client2
&
operator
=
(
cow_wrapper_client2
&&
);
void
modify
(
int
nVal
);
int
queryUnmodified
()
const
;
...
...
@@ -98,7 +100,9 @@ public:
~
cow_wrapper_client3
();
cow_wrapper_client3
(
const
cow_wrapper_client3
&
);
cow_wrapper_client3
(
cow_wrapper_client3
&&
);
cow_wrapper_client3
&
operator
=
(
const
cow_wrapper_client3
&
);
cow_wrapper_client3
&
operator
=
(
cow_wrapper_client3
&&
);
void
modify
(
int
nVal
);
int
queryUnmodified
()
const
;
...
...
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