+#include <stdio.h>
/* === S Y N F I G ========================================================= */
/*! \file activepoint.h
** \brief Template Header
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2007 Chris Moore
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
bool operator<(const Time& rhs) { return time<rhs; }
Activepoint(const Time &time, const bool &state, int p=0): time(time), priority(p),state(state) { }
- Activepoint() { }
+ //! \todo Should priority be initialised here, or elsewhere? This avoids a valgrind warning for now.
+ Activepoint(): priority(0) { }
const Time& get_time()const { return time; }
void set_time(const Time& x) { time=x; }