aboutsummaryrefslogtreecommitdiff
path: root/cc/aead
diff options
context:
space:
mode:
authorlizatretyakova <lizatretyakova@google.com>2022-03-23 05:34:11 -0700
committerCopybara-Service <copybara-worker@google.com>2022-03-23 05:34:54 -0700
commitcee5a98fdeac5e36d0c5fc9251571f3952be7964 (patch)
tree8a2580d4c9a03b094e06fb9ff68bc01cfb14eba3 /cc/aead
parent8d7d11a1bfdb00f1324359da94b6cddfe95a57a4 (diff)
downloadtink-cee5a98fdeac5e36d0c5fc9251571f3952be7964.tar.gz
Update documenting comment to use more up-to-date APIs of StatusOr.
PiperOrigin-RevId: 436713491
Diffstat (limited to 'cc/aead')
-rw-r--r--cc/aead/aead_key_templates.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/aead/aead_key_templates.h b/cc/aead/aead_key_templates.h
index 69116defe..2159912ee 100644
--- a/cc/aead/aead_key_templates.h
+++ b/cc/aead/aead_key_templates.h
@@ -33,7 +33,7 @@ namespace tink {
// auto handle_result =
// KeysetHandle::GenerateNew(AeadKeyTemplates::Aes128Gcm());
// if (!handle_result.ok()) { /* fail with error */ }
-// auto keyset_handle = std::move(handle_result.ValueOrDie());
+// auto keyset_handle = std::move(handle_result.value());
class AeadKeyTemplates {
public:
// Returns a KeyTemplate that generates new instances of AesEaxKey