1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-09 13:29:24 -04:00
ports/devel/vxlog/files/patch-src__vxlog__outputter-interface.h
Dmitry Marakasov 5c7145d13c - Use correct namespace for shared_ptr with libc++, fixes build on 10+
PR:		195904
Submitted by:	amdmi3
Approved by:	maintainer timeout
2015-01-14 19:04:35 +00:00

14 lines
404 B
C++

--- src/vxlog/outputter-interface.h.orig 2010-10-18 17:23:04.000000000 +0400
+++ src/vxlog/outputter-interface.h 2014-12-12 03:46:20.000000000 +0300
@@ -37,7 +37,11 @@
virtual void Flush() = 0;
};
+#ifdef _LIBCPP_VERSION
+typedef std::shared_ptr<OutputterInterface> SharedOutputterPtr;
+#else
typedef std::tr1::shared_ptr<OutputterInterface> SharedOutputterPtr;
+#endif
} // namespace vxlog