Skip to content

Commit 2d8c940

Browse files
authored
Remove the use of ifdef for TESTING_BUILD in KeyVault clients, where (#5406)
they are not needed.
1 parent 256c2df commit 2d8c940

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sdk/keyvault/azure-security-keyvault-certificates/inc/azure/keyvault/certificates/certificate_client.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace Azure { namespace Security { namespace KeyVault { namespace Certificat
3434
*
3535
* @details The client supports retrieving KeyVaultCertificate.
3636
*/
37-
class CertificateClient _azure_NON_FINAL_FOR_TESTS {
37+
class CertificateClient final {
3838
friend class CreateCertificateOperation;
3939

4040
#if defined(_azure_TESTING_BUILD)

sdk/keyvault/azure-security-keyvault-secrets/inc/azure/keyvault/secrets/secret_client.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ namespace Azure { namespace Security { namespace KeyVault { namespace Secrets {
4343
* Vault. The client supports creating, retrieving, updating, deleting, purging, backing up,
4444
* restoring, and listing the secret.
4545
*/
46-
class SecretClient _azure_NON_FINAL_FOR_TESTS {
46+
class SecretClient final {
4747

4848
private:
4949
// Using a shared pipeline for a client to share it with LRO (like delete key)

0 commit comments

Comments
 (0)