From 9f4b389f4d7dd2af83a34511c777a63ab0c18125 Mon Sep 17 00:00:00 2001 From: Ahson Khan Date: Mon, 22 Mar 2021 14:41:46 -0700 Subject: [PATCH] Update relative links to sections in the contributing guide doc to fix link verification (#1955) * Update relative links to sections in the contributing guide doc to fix link verification * Make some source code change modifications to trigger GenerateRelease CI steps * Don't use relative paths in links, instead use the full path from master to be consistent with other places --- CONTRIBUTING.md | 4 ++-- sdk/core/azure-core/src/context.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bfe93d23f..c2366acc9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -48,13 +48,13 @@ Codespaces is new technology that allows you to use a container as your developm ### GitHub Codespaces 1. From the Azure SDK GitHub repo, click on the "Code -> Open with Codespaces" button. -1. Open a Terminal. The development environment will be ready for you. Continue to [Building and Testing](#building-and-Testing). +1. Open a Terminal. The development environment will be ready for you. Continue to [Building and Testing](https://github.com/Azure/azure-sdk-for-cpp/blob/master/CONTRIBUTING.md#building-and-testing). #### VS Code Codespaces 1. Install the [VS Code Remote Extension Pack](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack) 1. When you open the Azure SDK for C++ repo in VS Code, it will prompt you to open the project in the Dev Container. If it does not prompt you, then hit CTRL+P, and select "Remote-Containers: Open Folder in Container..." -1. Open a Terminal. The development environment will be ready for you. Continue to [Building and Testing](#building-and-Testing). +1. Open a Terminal. The development environment will be ready for you. Continue to [Building and Testing](https://github.com/Azure/azure-sdk-for-cpp/blob/master/CONTRIBUTING.md#building-and-testing). ### Full Local Setup diff --git a/sdk/core/azure-core/src/context.cpp b/sdk/core/azure-core/src/context.cpp index b391c1389..2b43ce261 100644 --- a/sdk/core/azure-core/src/context.cpp +++ b/sdk/core/azure-core/src/context.cpp @@ -8,8 +8,8 @@ using time_point = std::chrono::system_clock::time_point; Context& Azure::Core::Context::GetApplicationContext() { - static Context ctx; - return ctx; + static Context context; + return context; } time_point Azure::Core::Context::CancelWhen() const