diff options
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-src/src/DvisvgmSpecialHandler.hpp')
-rw-r--r-- | Build/source/texk/dvisvgm/dvisvgm-src/src/DvisvgmSpecialHandler.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-src/src/DvisvgmSpecialHandler.hpp b/Build/source/texk/dvisvgm/dvisvgm-src/src/DvisvgmSpecialHandler.hpp index 5282f546bc1..242aa6a4aa4 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-src/src/DvisvgmSpecialHandler.hpp +++ b/Build/source/texk/dvisvgm/dvisvgm-src/src/DvisvgmSpecialHandler.hpp @@ -2,7 +2,7 @@ ** DvisvgmSpecialHandler.hpp ** ** ** ** This file is part of dvisvgm -- a fast DVI to SVG converter ** -** Copyright (C) 2005-2017 Martin Gieseking <martin.gieseking@uos.de> ** +** Copyright (C) 2005-2018 Martin Gieseking <martin.gieseking@uos.de> ** ** ** ** This program is free software; you can redistribute it and/or ** ** modify it under the terms of the GNU General Public License as ** @@ -21,8 +21,8 @@ #ifndef DVISVGMSPECIALHANDLER_HPP #define DVISVGMSPECIALHANDLER_HPP -#include <map> #include <string> +#include <unordered_map> #include <vector> #include "SpecialHandler.hpp" @@ -31,14 +31,14 @@ class SpecialActions; class DvisvgmSpecialHandler : public SpecialHandler, public DVIPreprocessingListener, public DVIEndPageListener { - typedef std::vector<std::string> StringVector; - typedef std::map<std::string, StringVector> MacroMap; + using StringVector = std::vector<std::string>; + using MacroMap = std::unordered_map<std::string, StringVector>; public: DvisvgmSpecialHandler (); const char* name () const override {return "dvisvgm";} const char* info () const override {return "special set for embedding raw SVG snippets";} - const char** prefixes () const override; + const std::vector<const char*> prefixes () const override; void preprocess (const char *prefix, std::istream &is, SpecialActions &actions) override; bool process (const char *prefix, std::istream &is, SpecialActions &actions) override; |