Fix more OSS warnings and build errors
-Wc++98-compat-extra-semi * in type_map.h -Winconsistent-missing-override * in gl_texture_buffer.h -Wdeprecated-declarations * usage of (absl) Status in * status_util.cc * api2/packet.h * output_stream_shard.cc -Wimplicit-const-int-float-conversion * Adds a static_cast to handle the precision loss when converting from large ints to floating point ANNOTATE_THREAD_NAME * explicitly uses ABSL_ANNOTATE_THREAD_NAME instead. This is useful in Chromium's build where there are multiple ANNOTATE_THREAD_NAME symbols Also ran clang-format over all of each edited file PiperOrigin-RevId: 537351290
This commit is contained in:
committed by
Copybara-Service
parent
9045a74ba3
commit
280bd320b4
@@ -59,8 +59,8 @@ absl::Status CombinedStatus(absl::string_view general_comment,
|
||||
}
|
||||
}
|
||||
}
|
||||
if (error_code == StatusCode::kOk) return OkStatus();
|
||||
Status combined;
|
||||
if (error_code == absl::StatusCode::kOk) return absl::OkStatus();
|
||||
absl::Status combined;
|
||||
combined = absl::Status(
|
||||
error_code,
|
||||
absl::StrCat(general_comment, "\n", absl::StrJoin(errors, "\n")));
|
||||
|
||||
Reference in New Issue
Block a user