From fde5b87e7b72ea43e4048f9583016e8ebcb156cf Mon Sep 17 00:00:00 2001 From: Will Cromar Date: Thu, 30 Nov 2023 17:51:26 +0000 Subject: [PATCH] remove extra default arg --- torch_xla/csrc/runtime/runtime.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torch_xla/csrc/runtime/runtime.cc b/torch_xla/csrc/runtime/runtime.cc index 8c50481112c4..2c103272ea52 100644 --- a/torch_xla/csrc/runtime/runtime.cc +++ b/torch_xla/csrc/runtime/runtime.cc @@ -30,7 +30,7 @@ std::unique_ptr CreateClient() { } // namespace -ComputationClient* GetComputationClient(bool create = true) { +ComputationClient* GetComputationClient(bool create) { static std::unique_ptr client = nullptr; if (!client && create) { static std::once_flag flag;