summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Günther <tom@toms-cafe.de>2007-06-20 18:13:43 +0200
committerThomas Günther <tom@toms-cafe.de>2007-06-20 18:13:43 +0200
commitf27a07d156ed203d4ccaeb3e1a5a6ccb53146b77 (patch)
tree671af9bc9cb05cdb496a4b208931f615889e3f10
parent2279a41cafa9fe8764ac83dba8d21c842328605f (diff)
downloadvdr-plugin-spider-f27a07d156ed203d4ccaeb3e1a5a6ccb53146b77.tar.gz
vdr-plugin-spider-f27a07d156ed203d4ccaeb3e1a5a6ccb53146b77.tar.bz2
Fixed compilation with VDR-1.5.4
-rw-r--r--spider.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/spider.h b/spider.h
index 1e30413..c0cc3c7 100644
--- a/spider.h
+++ b/spider.h
@@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
- * $Id: spider.h 2 2005-05-14 22:25:56Z tom $
+ * $Id: spider.h 84 2007-06-20 16:13:43Z tom $
*/
#ifndef VDR_SPIDER_H
@@ -14,8 +14,13 @@
#ifdef USE_TEMPLATES_FROM_STL
#include <vector>
-#define Array std::vector
-#define Vector std::vector
+template <class T>
+class Array : public std::vector<T>
+{
+public:
+ Array(int length) : std::vector<T>(length) {}
+};
+template <class T> class Vector : public std::vector<T> {};
#else // use own templates