diff --git a/proxygen/lib/transport/PersistentFizzPskCache.h b/proxygen/lib/transport/PersistentFizzPskCache.h index c79b7d1139..a7809f9d5c 100644 --- a/proxygen/lib/transport/PersistentFizzPskCache.h +++ b/proxygen/lib/transport/PersistentFizzPskCache.h @@ -8,9 +8,9 @@ #pragma once -#include #include #include +#include #include #include @@ -28,7 +28,7 @@ class PersistentFizzPskCache : public fizz::client::PskCache { PersistentFizzPskCache(const std::string& filename, wangle::PersistentCacheConfig config, std::unique_ptr factory = - std::make_unique()) + std::make_unique<::fizz::DefaultFactory>()) : cache_(filename, std::move(config)), factory_(std::move(factory)) { } diff --git a/proxygen/lib/transport/PersistentQuicPskCache.h b/proxygen/lib/transport/PersistentQuicPskCache.h index c0caccc982..be21298a72 100644 --- a/proxygen/lib/transport/PersistentQuicPskCache.h +++ b/proxygen/lib/transport/PersistentQuicPskCache.h @@ -11,6 +11,7 @@ #include #include +#include #include #include #include @@ -35,7 +36,7 @@ class PersistentQuicPskCache : public quic::QuicPskCache { PersistentQuicPskCache(const std::string& filename, wangle::PersistentCacheConfig config, std::unique_ptr factory = - std::make_unique()); + std::make_unique<::fizz::DefaultFactory>()); void setMaxPskUses(size_t maxUses);