diff options
author | Jeffrey Walton <noloader@gmail.com> | 2020-08-07 19:11:47 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2020-08-07 19:11:47 -0400 |
commit | 2c6e4b17d7a75a9cc9fe9ffd353981591de2be54 (patch) | |
tree | 5e7b46fd94bea76704951f150664c5dd1c730d28 /validate.h | |
parent | 7d0859d9dbfb394e4314e538567516e011db60cc (diff) | |
download | cryptopp-git-2c6e4b17d7a75a9cc9fe9ffd353981591de2be54.tar.gz |
Use define CRYPTOPP_CXX11_STATIC_INIT name
Diffstat (limited to 'validate.h')
-rw-r--r-- | validate.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -322,7 +322,7 @@ inline std::string DataDir(const std::string& filename) std::string name;
std::ifstream file;
-#if CRYPTOPP_CXX11_DYNAMIC_INIT
+#if CRYPTOPP_CXX11_STATIC_INIT
static std::string path = AddSeparator(GetDataDir());
name = path + filename;
file.open(name.c_str());
|