aboutsummaryrefslogtreecommitdiff
path: root/cc/registry.h
diff options
context:
space:
mode:
authortholenst <tholenst@google.com>2019-10-25 13:04:33 -0700
committerCopybara-Service <copybara-worker@google.com>2019-10-25 13:05:13 -0700
commit1ec72ed263422d0c7ea6f304afe666d624a4e51a (patch)
treee8d1c554838cc173145dfbd46aa8446aa69af7ad /cc/registry.h
parent9c3aeaf66c74519047c104195b124fe0aefd6c0d (diff)
downloadtink-1ec72ed263422d0c7ea6f304afe666d624a4e51a.tar.gz
Formatting changes due to internal changes.
PiperOrigin-RevId: 276745125
Diffstat (limited to 'cc/registry.h')
-rw-r--r--cc/registry.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/cc/registry.h b/cc/registry.h
index ba32c03dd..2de4ebf47 100644
--- a/cc/registry.h
+++ b/cc/registry.h
@@ -70,9 +70,9 @@ class Registry {
// an existing, different catalogue for the specified name.
template <class ConcreteCatalogue>
ABSL_DEPRECATED("Catalogues are not supported anymore.")
- static crypto::tink::util::Status AddCatalogue(
- const std::string& catalogue_name,
- std::unique_ptr<ConcreteCatalogue> catalogue) {
+ static crypto::tink::util::Status
+ AddCatalogue(const std::string& catalogue_name,
+ std::unique_ptr<ConcreteCatalogue> catalogue) {
return RegistryImpl::GlobalInstance().AddCatalogue(catalogue_name,
catalogue.release());
}
@@ -84,8 +84,8 @@ class Registry {
// failure, 'catalogue' is deleted).
template <class P>
ABSL_DEPRECATED("Use AddCatalogue with a unique_ptr input instead.")
- static crypto::tink::util::Status AddCatalogue(const std::string& catalogue_name,
- Catalogue<P>* catalogue) {
+ static crypto::tink::util::Status
+ AddCatalogue(const std::string& catalogue_name, Catalogue<P>* catalogue) {
return AddCatalogue(catalogue_name, absl::WrapUnique(catalogue));
}