summarylogtreecommitdiffstats
path: root/autoptr2uniqueptr.patch
diff options
context:
space:
mode:
authorBehnam Momeni2015-11-26 22:13:47 +0330
committerBehnam Momeni2015-11-26 22:13:47 +0330
commit9d6a27855047c5c62370734a0656522dd9cefd90 (patch)
treef5e75b0b1695c7ae3657209200b06635217c592e /autoptr2uniqueptr.patch
parent3c66fcd9d345f584650db20372ee59198cd086e2 (diff)
downloadaur-9d6a27855047c5c62370734a0656522dd9cefd90.tar.gz
Adding two patches to make it compilable with g++ 5.2.0
Diffstat (limited to 'autoptr2uniqueptr.patch')
-rw-r--r--autoptr2uniqueptr.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/autoptr2uniqueptr.patch b/autoptr2uniqueptr.patch
new file mode 100644
index 000000000000..7aae4ec58f3b
--- /dev/null
+++ b/autoptr2uniqueptr.patch
@@ -0,0 +1,11 @@
+--- bombono-dvd-1.2.2/libs/boost-logging/boost/logging/detail/tss/tss_impl_pthread.hpp 2013-03-08 00:50:45.000000000 +0330
++++ new/libs/boost-logging/boost/logging/detail/tss/tss_impl_pthread.hpp 2015-11-26 20:06:48.693423531 +0330
+@@ -39,7 +39,7 @@
+ slots = static_cast<tss_slots*>( pthread_getspecific(tss_data_native_key()));
+ if (slots == 0)
+ {
+- std::auto_ptr<tss_slots> temp( new_object_ensure_delete<tss_slots>() );
++ std::unique_ptr<tss_slots> temp( new_object_ensure_delete<tss_slots>() );
+ // pre-allocate a few elems, so that we'll be fast
+ temp->resize(BOOST_LOG_TSS_SLOTS_SIZE);
+