summaryrefslogtreecommitdiff
path: root/cpu.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-02-10 23:23:22 -0500
committerJeffrey Walton <noloader@gmail.com>2020-02-10 23:23:22 -0500
commit063b964d52933ec89827c493f52d9ba788ce399d (patch)
tree0f64062238275c1688bf9967b0615d25607a5ae1 /cpu.cpp
parent372519db86be84a16b19123f8d967c315c339419 (diff)
downloadcryptopp-git-063b964d52933ec89827c493f52d9ba788ce399d.tar.gz
Fix compile on Apple platforms
Diffstat (limited to 'cpu.cpp')
-rw-r--r--cpu.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpu.cpp b/cpu.cpp
index 1d0832b7..13302c76 100644
--- a/cpu.cpp
+++ b/cpu.cpp
@@ -238,6 +238,7 @@ void GetAppleMachineInfo(unsigned int& device, unsigned int& version, unsigned i
#if CRYPTOPP_CXX11_DYNAMIC_INIT
static const AppleMachineInfo info;
#else
+ using CryptoPP::Singleton;
const AppleMachineInfo& info = Singleton<AppleMachineInfo>().Ref();
#endif