diff --git a/cc/util/status.cc b/cc/util/status.cc index 3583960dc101e3094a65866ac2b2755adc80f6ad..4d6dde8498e31a416131a1177beafa80f4a81f2e 100644 --- a/cc/util/status.cc +++ b/cc/util/status.cc @@ -17,6 +17,7 @@ #include <sstream> #include "tink/util/status.h" +// placeholder_google3_status_header, please ignore" using ::std::ostream; @@ -40,6 +41,7 @@ const Status& GetUnknown() { } // namespace +// placeholder_implicit_type_conversion, please ignore Status::Status() : code_(::crypto::tink::util::error::OK), message_("") { } @@ -52,10 +54,6 @@ Status::Status(::crypto::tink::util::error::Code error, } } -Status::Status(const Status& other) - : code_(other.code_), message_(other.message_) { -} - Status& Status::operator=(const Status& other) { code_ = other.code_; message_ = other.message_; diff --git a/cc/util/status.h b/cc/util/status.h index 5a089f55102b2e085549a43b4639697a94535f2e..c8dc1a48724e7a3d141bbd7926328562c1f965e0 100644 --- a/cc/util/status.h +++ b/cc/util/status.h @@ -22,6 +22,8 @@ #include <string> +// placeholder_forward_declaration, please ignore + namespace crypto { namespace tink { namespace util { @@ -134,7 +136,6 @@ class Status { Status(::crypto::tink::util::error::Code error, const std::string& error_message); - Status(const Status& other); Status& operator=(const Status& other); // Some pre-defined Status objects @@ -165,6 +166,8 @@ class Status { std::string ToString() const; + // placeholder_implicit_type_conversion, please ignore + private: ::crypto::tink::util::error::Code code_; std::string message_;