Commit 37b0809c authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* src/misc/formater.hh: Add virtual destructors to please g++-4.0.

parent 85260341
......@@ -29,9 +29,10 @@ namespace spot
class printable
{
public:
~printable()
virtual ~printable()
{
}
virtual void
print(std::ostream&, const char*) const = 0;
};
......@@ -112,6 +113,10 @@ namespace spot
call_['%'] = call_[0] = &percent;
}
virtual ~formater()
{
}
/// Collect the %-sequences occurring in \a fmt.
void
prime(const char* fmt);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment