Skip to content

Commit

Permalink
[tsl:concurrency] NFC: Remove KeepAsyncValuePayloadOnError alias
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 642621386
  • Loading branch information
ezhulenev authored and copybara-github committed Jun 12, 2024
1 parent 9e74b81 commit 3f9daa2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cpp_tests/host_context/async_value_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ TEST(AsyncValueTest, AddAndDropRef) {
TEST(AsyncValueTest, KeepPayloadOnError) {
int payload_value = 0;

struct Payload : internal::KeepAsyncValuePayloadOnError {
struct Payload : tsl::AsyncPayload::KeepOnError {
explicit Payload(int* value) : value{value} { *value = 1; }
~Payload() { *value = 2; }

Expand Down
3 changes: 1 addition & 2 deletions include/tfrt/host_context/async_value.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ namespace tfrt {
using ::tsl::AsyncValue; // NOLINT

namespace internal {
using ::tsl::internal::ConcreteAsyncValue; // NOLINT
using ::tsl::internal::KeepAsyncValuePayloadOnError; // NOLINT
using ::tsl::internal::ConcreteAsyncValue; // NOLINT
} // namespace internal

using ::tsl::DummyValueForErrorAsyncValue; // NOLINT
Expand Down

0 comments on commit 3f9daa2

Please sign in to comment.