19 #include <unordered_set> 49 return oldSeeds.empty() && currentSeeds.empty() && newSeeds.empty();
53 return !oldSeeds.empty() && !currentSeeds.empty() && !newSeeds.empty();
58 const std::vector<std::string>& lhs,
59 const std::vector<std::string>&
rhs) {
60 if (lhs.size() > rhs.size()) {
63 std::unordered_set<std::string>
a{rhs.cbegin(), rhs.cend()};
65 std::unordered_set<std::string>{lhs.cbegin(), lhs.cend()}) {
66 if (
a.find(
v) ==
a.end()) {
std::vector< std::string > newSeeds
std::vector< std::string > currentSeeds
bool operator==(const TLSTicketKeySeeds &rhs) const
bool isValidRotation(const TLSTicketKeySeeds &next) const
FOLLY_PUSH_WARNING RHS rhs
std::vector< std::string > oldSeeds
static bool areSeedsSubset(const std::vector< std::string > &lhs, const std::vector< std::string > &rhs)