From f27a07d156ed203d4ccaeb3e1a5a6ccb53146b77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=BCnther?= Date: Wed, 20 Jun 2007 18:13:43 +0200 Subject: Fixed compilation with VDR-1.5.4 --- spider.h | 11 ++++++++--- 1 file 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 -#define Array std::vector -#define Vector std::vector +template +class Array : public std::vector +{ +public: + Array(int length) : std::vector(length) {} +}; +template class Vector : public std::vector {}; #else // use own templates -- cgit v1.2.3