diff --git a/ChangeLog b/ChangeLog index cbe89e4eb..09df9cf51 100644 --- a/ChangeLog +++ b/ChangeLog @@ -158,6 +158,8 @@ the deletion of a recurring task (thanks to Matt Kraai). + Fixed bug #807, which caused a lack of Lua to prevent tests from building (thanks to Owen Clarke). + + Fixed bug #808, which generated compiler warnings on Solarix (thanks to + Owen Clarke). # Untracked Bugs, biggest first. + Fixed bug that required the '%YAML' prologue in a YAML import. diff --git a/src/Transport.h b/src/Transport.h index 2c4d53387..55f5aa266 100644 --- a/src/Transport.h +++ b/src/Transport.h @@ -35,7 +35,7 @@ class Transport { public: Transport (const Uri&); - ~Transport (); + virtual ~Transport (); static Transport* getTransport(const Uri&); diff --git a/src/columns/Column.h b/src/columns/Column.h index 7ba4ec3ef..3b12e31de 100644 --- a/src/columns/Column.h +++ b/src/columns/Column.h @@ -43,7 +43,7 @@ public: Column (const Column&); Column& operator= (const Column&); bool operator== (const Column&) const; // TODO Is this necessary? - ~Column (); + virtual ~Column (); std::string style () const { return _style; } std::string label () const { return _label; } diff --git a/src/commands/Command.cpp b/src/commands/Command.cpp index 7eb8c1a48..b729f9ab2 100644 --- a/src/commands/Command.cpp +++ b/src/commands/Command.cpp @@ -333,15 +333,6 @@ void Command::filter (std::vector & output) // term, then completed.data does not need to be loaded. bool Command::filter_shortcut (const A3& filter) { -/**/ - if (filter.size () >= 3) - { - std::cout << "# filter[0] " << filter[0]._raw << "\n" - << "# filter[1] " << filter[1]._raw << "\n" - << "# filter[2] " << filter[2]._raw << "\n"; - } -/**/ - // Postfix: <"pending"> <=> // 0 1 2 if (filter.size () >= 3 &&