summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvisvgm/dvisvgm-src/src/FontWriter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-src/src/FontWriter.hpp')
-rw-r--r--Build/source/texk/dvisvgm/dvisvgm-src/src/FontWriter.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-src/src/FontWriter.hpp b/Build/source/texk/dvisvgm/dvisvgm-src/src/FontWriter.hpp
index 3becdf2618d..458952cad9b 100644
--- a/Build/source/texk/dvisvgm/dvisvgm-src/src/FontWriter.hpp
+++ b/Build/source/texk/dvisvgm/dvisvgm-src/src/FontWriter.hpp
@@ -36,9 +36,9 @@ class FontWriter {
static bool AUTOHINT_FONTS;
public:
- FontWriter (const PhysicalFont &font);
- std::string createFontFile (FontFormat format, const std::set<int> &charcodes, GFGlyphTracer::Callback *cb=0) const;
- bool writeCSSFontFace (FontFormat format, const std::set<int> &charcodes, std::ostream &os, GFGlyphTracer::Callback *cb=0) const;
+ explicit FontWriter (const PhysicalFont &font);
+ std::string createFontFile (FontFormat format, const std::set<int> &charcodes, GFGlyphTracer::Callback *cb=nullptr) const;
+ bool writeCSSFontFace (FontFormat format, const std::set<int> &charcodes, std::ostream &os, GFGlyphTracer::Callback *cb=nullptr) const;
static FontFormat toFontFormat (std::string formatstr);
static std::vector<std::string> supportedFormats ();
@@ -59,7 +59,7 @@ class FontWriter {
struct FontWriterException : MessageException {
- FontWriterException (const std::string &msg) : MessageException(msg) {}
+ explicit FontWriterException (const std::string &msg) : MessageException(msg) {}
};
#endif