acceleratedcryptographichash: pimpl for macos, windows

This commit is contained in:
Tom Dewey 2024-07-31 14:21:53 +01:00 committed by Tom Dewey
parent 103924eff0
commit 5a2815fefc
2 changed files with 6 additions and 6 deletions

View file

@ -9,8 +9,8 @@
#include <CommonCrypto/CommonDigest.h>
struct AcceleratedCryptographicHash::Impl {
explicit Impl(QCryptographicHash::Algorithm algo) {
struct AcceleratedCryptographicHash::impl {
explicit impl(QCryptographicHash::Algorithm algo) {
if (method != QCryptographicHash::Sha256)
throw std::runtime_error("Only sha256 implemented");