summaryrefslogtreecommitdiff
path: root/dviware/dvisvgm/src/Ghostscript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dviware/dvisvgm/src/Ghostscript.cpp')
-rw-r--r--dviware/dvisvgm/src/Ghostscript.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/dviware/dvisvgm/src/Ghostscript.cpp b/dviware/dvisvgm/src/Ghostscript.cpp
index 11ea79fc1a..96b06b1b68 100644
--- a/dviware/dvisvgm/src/Ghostscript.cpp
+++ b/dviware/dvisvgm/src/Ghostscript.cpp
@@ -2,7 +2,7 @@
** Ghostscript.cpp **
** **
** This file is part of dvisvgm -- a fast DVI to SVG converter **
-** Copyright (C) 2005-2020 Martin Gieseking <martin.gieseking@uos.de> **
+** Copyright (C) 2005-2021 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 **
@@ -215,7 +215,7 @@ bool Ghostscript::available () {
/** Retrieves version information about Ghostscript.
* @param[out] r takes the revision information (see GS API documentation for further details)
* @return true on success */
-bool Ghostscript::revision (gsapi_revision_t *r) {
+bool Ghostscript::revision (gsapi_revision_t *r) const {
#if defined(HAVE_LIBGS)
return (gsapi_revision(r, sizeof(gsapi_revision_t)) == 0);
#else
@@ -227,7 +227,7 @@ bool Ghostscript::revision (gsapi_revision_t *r) {
/** Returns the revision number of the GS library. */
-int Ghostscript::revision () {
+int Ghostscript::revision () const {
gsapi_revision_t r;
if (revision(&r))
return static_cast<int>(r.revision);