From 483c74aaab7c20d82a48621f1dd8b300292d3404 Mon Sep 17 00:00:00 2001 From: weidai Date: Tue, 29 Jul 2003 01:18:33 +0000 Subject: fix potential threading problem with initialization of static objects git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@118 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- zinflate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zinflate.h') diff --git a/zinflate.h b/zinflate.h index 34c39a8..14829fd 100644 --- a/zinflate.h +++ b/zinflate.h @@ -127,8 +127,8 @@ private: static const HuffmanDecoder *FixedLiteralDecoder(); static const HuffmanDecoder *FixedDistanceDecoder(); - const HuffmanDecoder *GetLiteralDecoder() const; - const HuffmanDecoder *GetDistanceDecoder() const; + const HuffmanDecoder& GetLiteralDecoder() const; + const HuffmanDecoder& GetDistanceDecoder() const; enum State {PRE_STREAM, WAIT_HEADER, DECODING_BODY, POST_STREAM, AFTER_END}; State m_state; -- cgit v1.2.1