summaryrefslogtreecommitdiff
path: root/dviware/dvisvgm/src/CharMapID.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'dviware/dvisvgm/src/CharMapID.hpp')
-rw-r--r--dviware/dvisvgm/src/CharMapID.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/dviware/dvisvgm/src/CharMapID.hpp b/dviware/dvisvgm/src/CharMapID.hpp
index e79c64b24f..cdc39ca94d 100644
--- a/dviware/dvisvgm/src/CharMapID.hpp
+++ b/dviware/dvisvgm/src/CharMapID.hpp
@@ -25,7 +25,7 @@
/** Represents a character map of a font. */
struct CharMapID {
- CharMapID () noexcept : platform_id(0), encoding_id(0) {}
+ CharMapID () noexcept =default;
CharMapID (uint8_t plf_id, uint8_t enc_id) noexcept : platform_id(plf_id), encoding_id(enc_id) {}
bool operator == (const CharMapID &ids) const {
@@ -52,8 +52,8 @@ struct CharMapID {
static const CharMapID MAC_SIMPLCHINESE;
static const CharMapID MAC_KOREAN;
- uint8_t platform_id;
- uint8_t encoding_id;
+ uint8_t platform_id=0;
+ uint8_t encoding_id=0;
};
#endif