File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -52,12 +52,6 @@ struct PULSAR_PUBLIC EncryptionKey {
5252 */
5353class PULSAR_PUBLIC EncryptionContext {
5454 public:
55- explicit EncryptionContext () = default;
56- EncryptionContext (const EncryptionContext&) = default ;
57- EncryptionContext (EncryptionContext&&) noexcept = default ;
58- EncryptionContext& operator =(const EncryptionContext&) = default ;
59- EncryptionContext& operator =(EncryptionContext&&) noexcept = default ;
60-
6155 using KeysType = std::vector<EncryptionKey>;
6256
6357 /* *
@@ -100,9 +94,11 @@ class PULSAR_PUBLIC EncryptionContext {
10094 */
10195 bool isDecryptionFailed () const noexcept { return isDecryptionFailed_; }
10296
103- // It should be used only internally but it's exposed so that `std::make_optional` can construct the
104- // object in place with this constructor.
105- EncryptionContext (const proto::MessageMetadata& metadata, bool isDecryptionFailed);
97+ /* *
98+ * It should be used only internally but it's exposed so that `std::make_optional` can construct the
99+ * object in place with this constructor.
100+ */
101+ EncryptionContext (const proto::MessageMetadata&, bool );
106102
107103 private:
108104 KeysType keys_;
You can’t perform that action at this time.
0 commit comments