aboutsummaryrefslogtreecommitdiff
path: root/chaos/src/map_base.hpp
diff options
context:
space:
mode:
authorTim Blechmann <timblech@users.sourceforge.net>2006-05-21 18:34:34 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:12:02 +0200
commit13cba7a7997e318fbba01a36912219355e387d52 (patch)
tree77ec90e15c3a912a480d21958bdf1b57a7d7f14f /chaos/src/map_base.hpp
parentcceea140611ff282d1513937f615abe2b8081ebc (diff)
rewrote most stuff using templates
svn path=/trunk/externals/tb/; revision=5105
Diffstat (limited to 'chaos/src/map_base.hpp')
-rw-r--r--chaos/src/map_base.hpp16
1 files changed, 4 insertions, 12 deletions
diff --git a/chaos/src/map_base.hpp b/chaos/src/map_base.hpp
index 1395bb8..92016b1 100644
--- a/chaos/src/map_base.hpp
+++ b/chaos/src/map_base.hpp
@@ -23,26 +23,18 @@
#include "chaos_base.hpp"
+template <int dimensions>
class map_base
- : public chaos_base
+ : public chaos_base<dimensions>
{
protected:
- map_base(int n):
- chaos_base(n)
- {
- }
-
virtual void m_step()
{
}
};
-#define MAP_CALLBACKS \
-CHAOS_CALLBACKS
-
-
-#define MAP_ATTRIBUTES \
-CHAOS_ATTRIBUTES;
+#define MAP_CALLBACKS
+#define MAP_ATTRIBUTES
#define __map_base_hpp
#endif /* __map_base_hpp */