summaryrefslogtreecommitdiff
path: root/dviware/dvisvgm/src/StreamWriter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'dviware/dvisvgm/src/StreamWriter.hpp')
-rw-r--r--dviware/dvisvgm/src/StreamWriter.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/dviware/dvisvgm/src/StreamWriter.hpp b/dviware/dvisvgm/src/StreamWriter.hpp
index 49b3401589..441a9a7e7f 100644
--- a/dviware/dvisvgm/src/StreamWriter.hpp
+++ b/dviware/dvisvgm/src/StreamWriter.hpp
@@ -24,7 +24,7 @@
#include <ostream>
#include <vector>
-class CRC32;
+class HashFunction;
class StreamWriter {
public:
@@ -35,9 +35,9 @@ class StreamWriter {
void writeBytes (const uint8_t *buf, size_t bufsize);
void writeBytes (int byte, size_t count);
void writeString (const std::string &str, bool finalZero=false);
- void writeUnsigned (uint32_t val, int n, CRC32 &crc32);
- void writeSigned (int32_t val, int n, CRC32 &crc32);
- void writeString (const std::string &str, CRC32 &crc32, bool finalZero=false);
+ void writeUnsigned (uint32_t val, int n, HashFunction &hashfunc);
+ void writeSigned (int32_t val, int n, HashFunction &hashfunc);
+ void writeString (const std::string &str, HashFunction &hashfunc, bool finalZero=false);
private:
std::ostream &_os;