summaryrefslogtreecommitdiff
path: root/autoptr.h
diff options
context:
space:
mode:
Diffstat (limited to 'autoptr.h')
-rw-r--r--autoptr.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/autoptr.h b/autoptr.h
deleted file mode 100644
index 4dc0263..0000000
--- a/autoptr.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef VDR_LIVE_AUTOPTR_H
-#define VDR_LIVE_AUTOPTR_H
-
-#define GCC_VERSION (__GNUC__ * 10000 \
- + __GNUC_MINOR__ * 100 \
- + __GNUC_PATCHLEVEL__)
-
-# include <memory>
-
-#if GCC_VERSION > 50000
-# define AUTO_PTR std::unique_ptr
-#else
-# define AUTO_PTR std::auto_ptr
-#endif
-
-#endif // VDR_LIVE_AUTOPTR_H