View | Details | Raw Unified | Return to bug 195904
Collapse All | Expand All

(-)files/patch-src__vxlog__console-outputter.h (+14 lines)
Line 0 Link Here
1
--- src/vxlog/console-outputter.h.orig	2010-10-18 17:23:04.000000000 +0400
2
+++ src/vxlog/console-outputter.h	2014-12-12 03:12:09.000000000 +0300
3
@@ -52,7 +52,11 @@
4
   VXLOG_DISALLOW_COPY_AND_ASSIGN(ConsoleOutputter);
5
 };
6
 
7
+#ifdef _LIBCPP_VERSION
8
+typedef std::shared_ptr<ConsoleOutputter> ConsoleOutputterPtr;
9
+#else
10
 typedef std::tr1::shared_ptr<ConsoleOutputter> ConsoleOutputterPtr;
11
+#endif
12
 
13
 }  // namespace vxlog
14
 
(-)files/patch-src__vxlog__file-outputter.h (+14 lines)
Line 0 Link Here
1
--- src/vxlog/file-outputter.h.orig	2010-10-18 17:23:04.000000000 +0400
2
+++ src/vxlog/file-outputter.h	2014-12-12 03:47:01.000000000 +0300
3
@@ -87,7 +87,11 @@
4
   VXLOG_DISALLOW_COPY_AND_ASSIGN(FileOutputter);
5
 };
6
 
7
+#ifdef _LIBCPP_VERSION
8
+typedef std::shared_ptr<FileOutputter> FileOutputterPtr;
9
+#else
10
 typedef std::tr1::shared_ptr<FileOutputter> FileOutputterPtr;
11
+#endif
12
 
13
 }  // namespace vxlog
14
 
(-)files/patch-src__vxlog__logger.h (+15 lines)
Line 0 Link Here
1
--- src/vxlog/logger.h.orig	2010-10-18 17:23:04.000000000 +0400
2
+++ src/vxlog/logger.h	2014-12-12 03:13:44.000000000 +0300
3
@@ -45,7 +45,12 @@
4
 
5
   template<typename OutputterT>
6
   static void BindOutputter(Level::Type level,
7
+#ifdef _LIBCPP_VERSION
8
+                            std::shared_ptr<OutputterT> outputter) {
9
+#else
10
                             std::tr1::shared_ptr<OutputterT> outputter) {
11
+#endif
12
+
13
     OutputterHolder<ModuleT, Level::kDebug>::Reset();
14
     OutputterHolder<ModuleT, Level::kInfo>::Reset();
15
     OutputterHolder<ModuleT, Level::kWarn>::Reset();
(-)files/patch-src__vxlog__outputter-interface.h (+14 lines)
Line 0 Link Here
1
--- src/vxlog/outputter-interface.h.orig	2010-10-18 17:23:04.000000000 +0400
2
+++ src/vxlog/outputter-interface.h	2014-12-12 03:46:20.000000000 +0300
3
@@ -37,7 +37,11 @@
4
   virtual void Flush() = 0;
5
 };
6
 
7
+#ifdef _LIBCPP_VERSION
8
+typedef std::shared_ptr<OutputterInterface> SharedOutputterPtr;
9
+#else
10
 typedef std::tr1::shared_ptr<OutputterInterface> SharedOutputterPtr;
11
+#endif
12
 
13
 }  // namespace vxlog
14
 
(-)files/patch-src__vxlog__syslog-outputter.h (+14 lines)
Line 0 Link Here
1
--- src/vxlog/syslog-outputter.h.orig	2010-10-18 17:23:04.000000000 +0400
2
+++ src/vxlog/syslog-outputter.h	2014-12-12 03:13:03.000000000 +0300
3
@@ -49,7 +49,11 @@
4
   VXLOG_DISALLOW_COPY_AND_ASSIGN(SyslogOutputter);
5
 };
6
 
7
+#ifdef _LIBCPP_VERSION
8
+typedef std::shared_ptr<SyslogOutputter> SyslogOutputterPtr;
9
+#else
10
 typedef std::tr1::shared_ptr<SyslogOutputter> SyslogOutputterPtr;
11
+#endif
12
 
13
 }  // namespace vxlog
14
 

Return to bug 195904