diff options
author | yang-g <yangg@google.com> | 2015-07-30 11:49:52 -0700 |
---|---|---|
committer | yang-g <yangg@google.com> | 2015-07-30 11:49:52 -0700 |
commit | dc71eeba7bd157bd7ede25a25edf3a8fc77f611c (patch) | |
tree | da284eaac450d2e18ed23e269b6400951a2dec90 /test/cpp | |
parent | 3d769d7f23b11f2282ec10a309c6d36f0a8907cd (diff) |
remove braces
Diffstat (limited to 'test/cpp')
-rw-r--r-- | test/cpp/interop/reconnect_interop_server.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/cpp/interop/reconnect_interop_server.cc b/test/cpp/interop/reconnect_interop_server.cc index 1c9ba55fb8..8bc51aa52e 100644 --- a/test/cpp/interop/reconnect_interop_server.cc +++ b/test/cpp/interop/reconnect_interop_server.cc @@ -113,11 +113,9 @@ class ReconnectServiceImpl : public ReconnectService::Service { // extract timestamps and set response Verify(response); reconnect_server_clear_timestamps(&tcp_server_); - { - std::lock_guard<std::mutex> lock(mu_); - serving_ = false; - cv_.notify_one(); - } + std::lock_guard<std::mutex> lock(mu_); + serving_ = false; + cv_.notify_one(); return Status::OK; } |