summaryrefslogtreecommitdiff
path: root/validate.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-08-07 19:11:47 -0400
committerJeffrey Walton <noloader@gmail.com>2020-08-07 19:11:47 -0400
commit2c6e4b17d7a75a9cc9fe9ffd353981591de2be54 (patch)
tree5e7b46fd94bea76704951f150664c5dd1c730d28 /validate.h
parent7d0859d9dbfb394e4314e538567516e011db60cc (diff)
downloadcryptopp-git-2c6e4b17d7a75a9cc9fe9ffd353981591de2be54.tar.gz
Use define CRYPTOPP_CXX11_STATIC_INIT name
Diffstat (limited to 'validate.h')
-rw-r--r--validate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/validate.h b/validate.h
index 7af6c378..f2ec5a67 100644
--- a/validate.h
+++ b/validate.h
@@ -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());