summaryrefslogtreecommitdiff
path: root/rdrand.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-03-17 20:47:32 -0400
committerJeffrey Walton <noloader@gmail.com>2017-03-17 20:47:32 -0400
commit301437e693fe8bfff6471ff3d88b31a85627d1a7 (patch)
tree8d9e52a6100f68fcaff5020042263537113842b7 /rdrand.cpp
parentbed31de2f60caced01958a464c98bf3a17586ea0 (diff)
downloadcryptopp-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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rdrand.cpp b/rdrand.cpp
index 26be8c43..74ecc34e 100644
--- a/rdrand.cpp
+++ b/rdrand.cpp
@@ -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