summaryrefslogtreecommitdiff
path: root/dviware/dvisvgm/src/GlyphTracerMessages.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'dviware/dvisvgm/src/GlyphTracerMessages.hpp')
-rw-r--r--dviware/dvisvgm/src/GlyphTracerMessages.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/dviware/dvisvgm/src/GlyphTracerMessages.hpp b/dviware/dvisvgm/src/GlyphTracerMessages.hpp
index 8a41b811d9..d48fe6f1b4 100644
--- a/dviware/dvisvgm/src/GlyphTracerMessages.hpp
+++ b/dviware/dvisvgm/src/GlyphTracerMessages.hpp
@@ -27,7 +27,8 @@
class GlyphTracerMessages : public GFGlyphTracer::Callback {
public:
- explicit GlyphTracerMessages (bool sfmsg=true, bool autonl=true) : _sfmsg(sfmsg), _autonl(autonl), _traced(false) {}
+ GlyphTracerMessages () =default;
+ explicit GlyphTracerMessages (bool sfmsg, bool autonl) : _sfmsg(sfmsg), _autonl(autonl) {}
~GlyphTracerMessages () override {
if (_autonl)
@@ -71,8 +72,8 @@ class GlyphTracerMessages : public GFGlyphTracer::Callback {
private:
std::string _fname;
- bool _sfmsg, _autonl;
- bool _traced; ///< true if a glyph of the current font has already been traced?
+ bool _sfmsg=true, _autonl=true;
+ bool _traced=false; ///< true if a glyph of the current font has already been traced?
};
#endif