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 --- xtr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtr.h') diff --git a/xtr.h b/xtr.h index 8f3ef27..89d39f0 100644 --- a/xtr.h +++ b/xtr.h @@ -33,7 +33,7 @@ public: c2.swap(a.c2); } - static GFP2Element & Zero(); + static const GFP2Element & Zero(); Integer c1, c2; }; -- cgit v1.2.1