diff options
author | Albert Astals Cid <aacid@kde.org> | 2019-11-27 22:56:46 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2019-11-27 22:56:46 +0100 |
commit | 7bd2d1b9db89af824d3be7ee2bbfd1ba7be5d408 (patch) | |
tree | b9e783900db70870c3acf46e99c54d734218cd2d /poppler/NameToCharCode.h | |
parent | 8eb7a123c2ad226598de498cc37fa9b8dccdd3bd (diff) |
some more const
Diffstat (limited to 'poppler/NameToCharCode.h')
-rw-r--r-- | poppler/NameToCharCode.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/poppler/NameToCharCode.h b/poppler/NameToCharCode.h index 481e4e98..bebb6dd1 100644 --- a/poppler/NameToCharCode.h +++ b/poppler/NameToCharCode.h @@ -13,7 +13,7 @@ // All changes made under the Poppler project to this file are licensed // under GPL version 2 or later // -// Copyright (C) 2018 Albert Astals Cid <aacid@kde.org> +// Copyright (C) 2018, 2019 Albert Astals Cid <aacid@kde.org> // // To see a description of the changes please see the Changelog file that // came with your tarball or type make ChangeLog if you are building from git @@ -39,11 +39,11 @@ public: NameToCharCode& operator=(const NameToCharCode &) = delete; void add(const char *name, CharCode c); - CharCode lookup(const char *name); + CharCode lookup(const char *name) const; private: - int hash(const char *name); + int hash(const char *name) const; NameToCharCodeEntry *tab; int size; |