rename one printable_formula

We currently have 3 printable_formula classes in Spot; let's reduce
this to 2.

* bin/common_output.cc (anonymous::printable_formula): Rename to...
(anonymous::printable_formula_with_location): ... this.
This commit is contained in:
Alexandre Duret-Lutz 2017-11-24 14:44:05 +01:00
parent c7f6655043
commit a31ba7ff80

View file

@ -181,11 +181,11 @@ namespace
} }
}; };
class printable_formula final: class printable_formula_with_location final:
public spot::printable_value<const formula_with_location*> public spot::printable_value<const formula_with_location*>
{ {
public: public:
printable_formula& printable_formula_with_location&
operator=(const formula_with_location* new_val) operator=(const formula_with_location* new_val)
{ {
val_ = new_val; val_ = new_val;
@ -256,7 +256,7 @@ namespace
private: private:
const char* format_; const char* format_;
printable_formula fl_; printable_formula_with_location fl_;
printable_timer timer_; printable_timer timer_;
spot::printable_value<const char*> filename_; spot::printable_value<const char*> filename_;
spot::printable_value<int> line_; spot::printable_value<int> line_;