// ChangeNode.cpp: implementation of the ChangeNode class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "ChangeNode.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

ChangeNode::ChangeNode(StrBuf input)
{
	change = input;
	value = atoi((const char*) change.Text());

	prev = NULL;
	next = NULL;
}

ChangeNode::~ChangeNode()
{
	if (next != NULL) delete next;
}
