summaryrefslogtreecommitdiff
path: root/chromium/third_party/shell-encryption/patches/0002-Use-absl-instead-of-std-optional.patch
blob: 7e6457d08fa122cc4d397ac36f61f1f8bd74d0b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/ntt_parameters.h b/ntt_parameters.h
index c3da197..55671ec 100644
--- a/ntt_parameters.h
+++ b/ntt_parameters.h
@@ -168,7 +168,7 @@ struct NttParameters {
   ~NttParameters() = default;
 
   int number_coeffs;
-  std::optional<ModularInt> n_inv_ptr;
+  absl::optional<ModularInt> n_inv_ptr;
   std::vector<ModularInt> psis_bitrev;
   std::vector<ModularInt> psis_inv_bitrev;
   std::vector<unsigned int> bitrevs;