From 687d1ba4b5620305ac36914e65a827ebd2c09b53 Mon Sep 17 00:00:00 2001 From: jfcarroll Date: Mon, 20 Sep 2021 16:40:05 -0700 Subject: [PATCH] Clean up platform.cc Remove unnecessary namespace symbols to improve consistency. PiperOrigin-RevId: 397870990 --- cpp/platform/impl/windows/platform.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cpp/platform/impl/windows/platform.cc b/cpp/platform/impl/windows/platform.cc index b50fd5d3..012bda9b 100644 --- a/cpp/platform/impl/windows/platform.cc +++ b/cpp/platform/impl/windows/platform.cc @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -67,18 +67,18 @@ std::unique_ptr ImplementationPlatform::CreateMutex(Mutex::Mode mode) { std::unique_ptr ImplementationPlatform::CreateConditionVariable(Mutex* mutex) { - return absl::make_unique(mutex); + return absl::make_unique(mutex); } std::unique_ptr ImplementationPlatform::CreateInputFile( PayloadId payload_id, std::int64_t total_size) { - return absl::make_unique( + return absl::make_unique( GetPayloadPath(payload_id), total_size); } std::unique_ptr ImplementationPlatform::CreateOutputFile( PayloadId payload_id) { - return absl::make_unique( + return absl::make_unique( GetPayloadPath(payload_id)); } @@ -112,7 +112,7 @@ ImplementationPlatform::CreateBluetoothAdapter() { std::unique_ptr ImplementationPlatform::CreateBluetoothClassicMedium( nearby::api::BluetoothAdapter& adapter) { - return absl::make_unique( + return absl::make_unique( adapter); }