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
4169a126
Kaydet (Commit)
4169a126
authored
May 21, 2013
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Try not to crash in mdds when _GLIBCXX_DEBUG is defined.
Change-Id: Id3a5ca97129177cae27cc38ec044f4fa62f08477
üst
d5151ab5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
0 deletions
+32
-0
0001-Avoid-crash-when-_GLIBCXX_DEBUG-is-defined.patch
mdds/0001-Avoid-crash-when-_GLIBCXX_DEBUG-is-defined.patch
+31
-0
UnpackedTarball_mdds.mk
mdds/UnpackedTarball_mdds.mk
+1
-0
No files found.
mdds/0001-Avoid-crash-when-_GLIBCXX_DEBUG-is-defined.patch
0 → 100644
Dosyayı görüntüle @
4169a126
From e77d3ba18a2fd53488048b78264be011db5423f6 Mon Sep 17 00:00:00 2001
From: Kohei Yoshida <kohei.yoshida@gmail.com>
Date: Tue, 21 May 2013 15:38:51 -0400
Subject: [PATCH] Avoid crash when _GLIBCXX_DEBUG is defined.
I'm not sure why gcc's STL debug complains when swapping two iterators
when one of them is a singular, but doesn't when I assign one to the
other via assignment. But whichever works....
---
include/mdds/multi_type_vector_itr.hpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/mdds/multi_type_vector_itr.hpp b/include/mdds/multi_type_vector_itr.hpp
index a7954d2..7923a22 100644
--- a/b/include/mdds/multi_type_vector_itr.hpp
+++ u/r/screwed/include/mdds/multi_type_vector_itr.hpp
@@ -216,8 +216,9 @@ public:
iterator_common_base& operator= (const iterator_common_base& other)
{
- iterator_common_base assigned(other);
- swap(assigned);
+ m_cur_node = other.m_cur_node;
+ m_pos = other.m_pos;
+ m_end = other.m_end;
return *this;
}
--
1.8.0
mdds/UnpackedTarball_mdds.mk
Dosyayı görüntüle @
4169a126
...
...
@@ -17,6 +17,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,mdds,\
mdds/mdds_0.6.0.patch \
mdds/0001-Workaround-for-gcc-bug.patch \
mdds/mdds_0.7.0_unreachable_warning.patch.1 \
mdds/0001-Avoid-crash-when-_GLIBCXX_DEBUG-is-defined.patch \
))
# vim: set noet sw=4 ts=4:
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