assert, include path, and virtual ~ patches by Lukas Fittl

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@414 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2006-01-05 09:55:09 +00:00
parent d5a206bb96
commit c65487fd89
6 changed files with 19 additions and 13 deletions

View file

@ -131,6 +131,7 @@ namespace Loki
public:
typedef R ReturnType;
typedef T ParamType;
virtual ~Visitor() {}
virtual ReturnType Visit(ParamType&) = 0;
};
@ -140,6 +141,7 @@ namespace Loki
public:
typedef R ReturnType;
typedef const T ParamType;
virtual ~Visitor() {}
virtual ReturnType Visit(ParamType&) = 0;
};