Anchor flight gear::Waypt's destructor, and make it virtual.
This commit is contained in:
parent
fd06e568ea
commit
9bd4ba6eb0
2 changed files with 6 additions and 0 deletions
|
@ -65,6 +65,10 @@ Waypt::Waypt(Route* aOwner) :
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Waypt::~Waypt()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
std::string Waypt::ident() const
|
std::string Waypt::ident() const
|
||||||
{
|
{
|
||||||
return "";
|
return "";
|
||||||
|
|
|
@ -85,6 +85,8 @@ typedef enum {
|
||||||
class Waypt : public SGReferenced
|
class Waypt : public SGReferenced
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~Waypt();
|
||||||
|
|
||||||
Route* owner() const
|
Route* owner() const
|
||||||
{ return _owner; }
|
{ return _owner; }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue