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
3b094090
Kaydet (Commit)
3b094090
authored
Eyl 30, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
idlc: std::auto_ptr -> std::unique_ptr
Change-Id: I0d64c9b2b7aeddfd70541a14c8a325fea9944c39
üst
381044bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
astexpression.cxx
idlc/source/astexpression.cxx
+3
-7
No files found.
idlc/source/astexpression.cxx
Dosyayı görüntüle @
3b094090
...
@@ -960,7 +960,7 @@ AstExprValue* AstExpression::eval_bin_op(EvalKind ek)
...
@@ -960,7 +960,7 @@ AstExprValue* AstExpression::eval_bin_op(EvalKind ek)
if
(
m_subExpr2
->
getExprValue
()
==
NULL
)
if
(
m_subExpr2
->
getExprValue
()
==
NULL
)
return
NULL
;
return
NULL
;
std
::
auto
_ptr
<
AstExprValue
>
retval
(
new
AstExprValue
());
std
::
unique
_ptr
<
AstExprValue
>
retval
(
new
AstExprValue
());
retval
->
et
=
eType
;
retval
->
et
=
eType
;
switch
(
m_combOperator
)
switch
(
m_combOperator
)
...
@@ -1010,9 +1010,7 @@ AstExprValue* AstExpression::eval_bit_op(EvalKind ek)
...
@@ -1010,9 +1010,7 @@ AstExprValue* AstExpression::eval_bit_op(EvalKind ek)
if
(
m_subExpr2
->
getExprValue
()
==
NULL
)
if
(
m_subExpr2
->
getExprValue
()
==
NULL
)
return
NULL
;
return
NULL
;
SAL_WNODEPRECATED_DECLARATIONS_PUSH
std
::
unique_ptr
<
AstExprValue
>
retval
(
new
AstExprValue
());
std
::
auto_ptr
<
AstExprValue
>
retval
(
new
AstExprValue
());
SAL_WNODEPRECATED_DECLARATIONS_POP
retval
->
et
=
ET_long
;
retval
->
et
=
ET_long
;
switch
(
m_combOperator
)
switch
(
m_combOperator
)
...
@@ -1055,9 +1053,7 @@ AstExprValue* AstExpression::eval_un_op(EvalKind ek)
...
@@ -1055,9 +1053,7 @@ AstExprValue* AstExpression::eval_un_op(EvalKind ek)
if
(
m_subExpr1
->
getExprValue
()
==
NULL
)
if
(
m_subExpr1
->
getExprValue
()
==
NULL
)
return
NULL
;
return
NULL
;
SAL_WNODEPRECATED_DECLARATIONS_PUSH
std
::
unique_ptr
<
AstExprValue
>
retval
(
new
AstExprValue
());
std
::
auto_ptr
<
AstExprValue
>
retval
(
new
AstExprValue
());
SAL_WNODEPRECATED_DECLARATIONS_POP
retval
->
et
=
ET_double
;
retval
->
et
=
ET_double
;
switch
(
m_combOperator
)
switch
(
m_combOperator
)
...
...
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