diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-03-17 20:47:32 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-03-17 20:47:32 -0400 |
commit | 301437e693fe8bfff6471ff3d88b31a85627d1a7 (patch) | |
tree | 8d9e52a6100f68fcaff5020042263537113842b7 /rdrand.cpp | |
parent | bed31de2f60caced01958a464c98bf3a17586ea0 (diff) | |
download | cryptopp-git-301437e693fe8bfff6471ff3d88b31a85627d1a7.tar.gz |
Updated static initializers
When MSVC init_seg or GCC init_priority is available, we don't need to use the Singleton. We only need to create a file scope class variable and place it in the segment for MSVC or provide the attribute for GCC.
An additional upside is we cleared all the memory leaks that used to be reported by MSVC for debug builds.
Diffstat (limited to 'rdrand.cpp')
-rw-r--r-- | rdrand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ // For Linux, NASM is optional. Run rdrand-nasm.sh, and then make
// with "USE_NASM" like so: USE_NASM=1 make -j 4. The makefile
-// will add the appropriate defines when building rdrand.cpp,
+// will add the appropriate defines when building rdrand.cpp,
// and add the appropriate object file during link.
#if 0
|