diff options
author | Jeffrey Walton <noloader@gmail.com> | 2020-02-10 23:23:22 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2020-02-10 23:23:22 -0500 |
commit | 063b964d52933ec89827c493f52d9ba788ce399d (patch) | |
tree | 0f64062238275c1688bf9967b0615d25607a5ae1 /cpu.cpp | |
parent | 372519db86be84a16b19123f8d967c315c339419 (diff) | |
download | cryptopp-git-063b964d52933ec89827c493f52d9ba788ce399d.tar.gz |
Fix compile on Apple platforms
Diffstat (limited to 'cpu.cpp')
-rw-r--r-- | cpu.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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
|