summaryrefslogtreecommitdiff
path: root/xtr.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2003-07-29 01:18:33 +0000
committerweidai <weidai11@users.noreply.github.com>2003-07-29 01:18:33 +0000
commit9c5c4769a9c7a16aecc6cc7dd297bfe243dd022f (patch)
tree7a78ed3becd2c14f449d1cc66a58edd414256d94 /xtr.h
parent259ee22eba4e4e6471caa088479a93fbee894e11 (diff)
downloadcryptopp-git-9c5c4769a9c7a16aecc6cc7dd297bfe243dd022f.tar.gz
fix potential threading problem with initialization of static objects
Diffstat (limited to 'xtr.h')
-rw-r--r--xtr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtr.h b/xtr.h
index 8f3ef278..89d39f03 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;
};