add public access specifiers to Heap::Vistor and Heap::Iterator

This commit is contained in:
Joel Dice 2007-06-02 19:58:47 -06:00
parent d0a6a78022
commit f6e369c424

View File

@ -9,11 +9,13 @@ class Heap {
};
class Visitor {
public:
virtual ~Visitor() { }
virtual void visit(void**) = 0;
};
class Iterator {
public:
virtual ~Iterator() { }
virtual void iterate(Visitor*) = 0;
};