diff options
author | Thomas Günther <tom@toms-cafe.de> | 2007-06-20 18:13:43 +0200 |
---|---|---|
committer | Thomas Günther <tom@toms-cafe.de> | 2007-06-20 18:13:43 +0200 |
commit | f27a07d156ed203d4ccaeb3e1a5a6ccb53146b77 (patch) | |
tree | 671af9bc9cb05cdb496a4b208931f615889e3f10 | |
parent | 2279a41cafa9fe8764ac83dba8d21c842328605f (diff) | |
download | vdr-plugin-spider-f27a07d156ed203d4ccaeb3e1a5a6ccb53146b77.tar.gz vdr-plugin-spider-f27a07d156ed203d4ccaeb3e1a5a6ccb53146b77.tar.bz2 |
Fixed compilation with VDR-1.5.4
-rw-r--r-- | spider.h | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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 |