1
0
Fork 0
libreoffice/external/gpgmepp/c++20.patch
Daniel Baumann 8e63e14cf6
Adding upstream version 4:25.2.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 16:20:04 +02:00

11 lines
251 B
Diff

--- lang/cpp/src/keylistresult.cpp
+++ lang/cpp/src/keylistresult.cpp
@@ -77,7 +77,7 @@
void GpgME::KeyListResult::detach()
{
- if (!d || d.unique()) {
+ if (!d || d.use_count() == 1) {
return;
}
d.reset(new Private(*d));