[#absl-Status-Update-06] = xref:absl.adoc[absl]::xref:absl/Status.adoc[Status]::Update :relfileprefix: ../../ :mrdocs: `Update` overloads == Synopses Declared in `<absl/status/status.h>` Updates the existing status with `new_status` provided that `this‐>ok()`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/Status/Update-01.adoc[Update](xref:absl/Status.adoc[Status] const& new_status); ---- [.small]#xref:absl/Status/Update-01.adoc[_» more..._]# Updates the existing status by moving from `new_status` if `this‐>ok()`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/Status/Update-0a.adoc[Update](xref:absl/Status.adoc[Status]&& new_status); ---- [.small]#xref:absl/Status/Update-0a.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *new_status* | The status to apply if `*this` is currently OK. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#