1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/devel/ice/files/patch-cpp-src-IceUtil-Shared.cpp
Boris Samorodov c1436fa4e5 Changes from the PR:
. fix built using Clang in C++11 mode and libc++ (-std=c++11
-stdlib=libc++);
. incorporate a patch that fixes an assert bug in IceStrom;
. adopt new-style options;

While I'm here:
. adopt new-style headers;
. remove indefinite article form COMMENT;
. remove library versions from LIB_DEPENDS.

PR:		ports/171643
Submitted by:	Michael Gmelin <freebsd@grem.de> (maintainer)
2012-09-23 14:45:33 +00:00

22 lines
559 B
C++

--- cpp.orig/src/IceUtil/Shared.cpp 2011-06-15 21:43:58.000000000 +0200
+++ cpp/src/IceUtil/Shared.cpp 2012-09-10 11:43:58.000000000 +0200
@@ -96,6 +96,18 @@ IceUtil::SimpleShared::SimpleShared(const SimpleShared&) :
{
}
+IceUtil::SimpleSharedUnsafeDestructor::SimpleSharedUnsafeDestructor() :
+ _ref(0),
+ _noDelete(false)
+{
+}
+
+IceUtil::SimpleSharedUnsafeDestructor::SimpleSharedUnsafeDestructor(const SimpleSharedUnsafeDestructor&) :
+ _ref(0),
+ _noDelete(false)
+{
+}
+
IceUtil::Shared::Shared() :
_ref(0),
_noDelete(false)