summaryrefslogtreecommitdiff
path: root/textproc/goldendict/files/patch-sptr.hh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--textproc/goldendict/files/patch-sptr.hh12
1 files changed, 12 insertions, 0 deletions
diff --git a/textproc/goldendict/files/patch-sptr.hh b/textproc/goldendict/files/patch-sptr.hh
new file mode 100644
index 000000000000..23dcb67ba623
--- /dev/null
+++ b/textproc/goldendict/files/patch-sptr.hh
@@ -0,0 +1,12 @@
+--- sptr.hh.orig 2020-11-23 20:39:45 UTC
++++ sptr.hh
+@@ -67,9 +67,6 @@ class sptr_base (public)
+ }
+ }
+
+- unsigned use_count() const
+- { return count; }
+-
+ sptr_base & operator = ( sptr_base const & other )
+ { if ( &other != this ) { reset(); p = other.p; count = other.count; increment(); }
+ return * this; }