diff --git a/torch_xla/csrc/runtime/runtime.cc b/torch_xla/csrc/runtime/runtime.cc index 02e80c10e3a..8c50481112c 100644 --- a/torch_xla/csrc/runtime/runtime.cc +++ b/torch_xla/csrc/runtime/runtime.cc @@ -34,7 +34,7 @@ ComputationClient* GetComputationClient(bool create = true) { static std::unique_ptr client = nullptr; if (!client && create) { static std::once_flag flag; - std::call_once(flag, [](){ client = CreateClient(); }); + std::call_once(flag, []() { client = CreateClient(); }); } return client.get(); }