File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
google/cloud/storage/internal/async Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,14 +66,14 @@ auto constexpr kAuthority = "storage.googleapis.com";
6666std::shared_ptr<AsyncConnection> MakeTestConnection (
6767 CompletionQueue cq, std::shared_ptr<storage::testing::MockStorageStub> mock,
6868 Options options = {}) {
69- using namespace std ::chrono_literals ; // NOLINT(google-using-directives)
69+ using ms = std::chrono::milliseconds;
7070 options = internal::MergeOptions (
7171 std::move (options),
7272 Options{}
7373 .set <storage::RetryPolicyOption>(
7474 storage::LimitedErrorCountRetryPolicy (2 ).clone ())
7575 .set <storage::BackoffPolicyOption>(
76- storage::ExponentialBackoffPolicy (1ms, 2ms , 2.0 ).clone ()));
76+ storage::ExponentialBackoffPolicy (ms ( 1 ), ms ( 2 ) , 2.0 ).clone ()));
7777 return MakeAsyncConnection (std::move (cq), std::move (mock),
7878 DefaultOptionsGrpc (std::move (options)));
7979}
You can’t perform that action at this time.
0 commit comments