fixed a few compiler warnings, have a few more to go

git-svn-id: svn://anubis/fart/trunk@110 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
Josh Holtrop 2009-02-16 21:06:19 +00:00
parent 69c5fdd1e6
commit 71a55378c4
3 changed files with 8 additions and 3 deletions

View File

@ -15,3 +15,7 @@ void Node::addChildren(refptr<Node> other)
addChild(*it); addChild(*it);
} }
} }
Node::~Node()
{
}

View File

@ -11,6 +11,7 @@
class Node class Node
{ {
public: public:
virtual ~Node();
void addChild(refptr<Node> child) { m_children.push_back(child); } void addChild(refptr<Node> child) { m_children.push_back(child); }
void addChildren(refptr<Node> other); void addChildren(refptr<Node> other);

View File

@ -229,11 +229,11 @@ plane: PLANE LCURLY plane_items RCURLY {
} }
; ;
plane_items: plane_item plane_items { plane_items: plane_item plane_items
} | shape_item plane_items
; ;
plane_item: POSITION vector, number plane_item: POSITION vector COMMA number
| shape_item | shape_item
; ;