+ remove unused member variable
+ format
This commit is contained in:
parent
f0ada2b284
commit
e48057b274
1 changed files with 12 additions and 9 deletions
|
@ -22,15 +22,18 @@
|
|||
#ifndef PLACEMENTS_DUMMY_HPP
|
||||
#define PLACEMENTS_DUMMY_HPP
|
||||
|
||||
// mapnik
|
||||
#include <mapnik/config.hpp>
|
||||
#include <mapnik/text_placements/base.hpp>
|
||||
// boost
|
||||
#include <boost/concept_check.hpp>
|
||||
|
||||
namespace mapnik
|
||||
{
|
||||
|
||||
class text_placements_info_dummy;
|
||||
|
||||
/** Dummy placement algorithm. Always takes the default value. */
|
||||
// Dummy placement algorithm. Always takes the default value.
|
||||
class MAPNIK_DECL text_placements_dummy: public text_placements
|
||||
{
|
||||
public:
|
||||
|
@ -38,17 +41,17 @@ public:
|
|||
friend class text_placement_info_dummy;
|
||||
};
|
||||
|
||||
/** Placement info object for dummy placement algorithm. Always takes the default value. */
|
||||
// Placement info object for dummy placement algorithm. Always takes the default value.
|
||||
class MAPNIK_DECL text_placement_info_dummy : public text_placement_info
|
||||
{
|
||||
public:
|
||||
text_placement_info_dummy(text_placements_dummy const* parent, double scale_factor)
|
||||
: text_placement_info(parent, scale_factor),
|
||||
state(0), parent_(parent) {}
|
||||
state(0) {}
|
||||
|
||||
bool next();
|
||||
private:
|
||||
unsigned state;
|
||||
text_placements_dummy const* parent_;
|
||||
};
|
||||
|
||||
} //ns mapnik
|
||||
|
|
Loading…
Reference in a new issue