Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
fuchsia.googlesource.com-third_party-tink
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fuchsia-mirror
fuchsia.googlesource.com-third_party-tink
Commits
af4ff972
Commit
af4ff972
authored
6 years ago
by
thaidn
Committed by
Tink Team
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fixing broken Ubuntu build.
PiperOrigin-RevId: 225616834 GitOrigin-RevId: 38c6f46e25cdd123a59e3ca472cb2ef9282d9628
parent
6796be0f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cc/util/status.cc
+1
-16
1 addition, 16 deletions
cc/util/status.cc
with
1 addition
and
16 deletions
cc/util/status.cc
+
1
−
16
View file @
af4ff972
...
...
@@ -41,22 +41,7 @@ const Status& GetUnknown() {
}
// namespace
// Keep synchronized with google3/third_party/tink/copybara/cc.bara.sky
#ifndef __APPLE__
Status
::
Status
(
const
::
util
::
Status
&
status
)
:
code_
(
::
crypto
::
tink
::
util
::
error
::
OK
)
{
if
(
status
.
ok
())
return
;
code_
=
static_cast
<::
crypto
::
tink
::
util
::
error
::
Code
>
(
::
util
::
RetrieveErrorCode
(
status
));
message_
=
std
::
string
(
status
.
message
());
}
Status
::
operator
::
util
::
Status
()
const
{
if
(
ok
())
return
::
util
::
OkStatus
();
return
::
util
::
Status
(
static_cast
<
absl
::
StatusCode
>
(
code_
),
message_
);
}
#endif
// end of block in sync with google3/third_party/tink/copybara/cc.bara.sky
// placeholder_implicit_type_conversion, please ignore
Status
::
Status
()
:
code_
(
::
crypto
::
tink
::
util
::
error
::
OK
),
message_
(
""
)
{
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment