diff options
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-src/src/PSInterpreter.cpp')
-rw-r--r-- | Build/source/texk/dvisvgm/dvisvgm-src/src/PSInterpreter.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-src/src/PSInterpreter.cpp b/Build/source/texk/dvisvgm/dvisvgm-src/src/PSInterpreter.cpp index 77da4520bec..407f0eb32e7 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-src/src/PSInterpreter.cpp +++ b/Build/source/texk/dvisvgm/dvisvgm-src/src/PSInterpreter.cpp @@ -2,7 +2,7 @@ ** PSInterpreter.cpp ** ** ** ** This file is part of dvisvgm -- a fast DVI to SVG converter ** -** Copyright (C) 2005-2016 Martin Gieseking <martin.gieseking@uos.de> ** +** Copyright (C) 2005-2017 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 ** @@ -22,12 +22,12 @@ #include <cstring> #include <fstream> #include <sstream> -#include "FileFinder.h" -#include "InputReader.h" -#include "Message.h" -#include "PSFilter.h" -#include "PSInterpreter.h" -#include "SignalHandler.h" +#include "FileFinder.hpp" +#include "InputReader.hpp" +#include "Message.hpp" +#include "PSFilter.hpp" +#include "PSInterpreter.hpp" +#include "SignalHandler.hpp" using namespace std; @@ -314,7 +314,7 @@ void PSInterpreter::callActions (InputReader &in) { _rawData.clear(); in.skipSpace(); while (!in.eof()) { - _rawData.push_back(in.getString()); + _rawData.emplace_back(in.getString()); in.skipSpace(); } } @@ -325,14 +325,14 @@ void PSInterpreter::callActions (InputReader &in) { if (pcount < 0) { // variable number of parameters? in.skipSpace(); while (!in.eof()) { // read all available parameters - params.push_back(in.getString()); + params.emplace_back(in.getString()); in.skipSpace(); } } else { // fix number of parameters for (int i=0; i < pcount; i++) { in.skipSpace(); - params.push_back(in.getString()); + params.emplace_back(in.getString()); } } vector<double> v(params.size()); |