From 00d72d342f36943f55f8c63418b791d86526a0b7 Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Sun, 25 Nov 2018 16:25:39 -0600 Subject: [PATCH] Fix stack_test.cc in the prefixed build. Uses of BORINGSSL_MAKE_DELETER must be inside BSSL_NAMESPACE_BEGIN for the specializations to work. Change-Id: Ib96cf5d235586b24c052973d7034c0e5a8019f17 Reviewed-on: https://boringssl-review.googlesource.com/c/33346 Commit-Queue: David Benjamin Reviewed-by: Adam Langley --- crypto/stack/stack_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/stack/stack_test.cc b/crypto/stack/stack_test.cc index 8b269719..7be84ed0 100644 --- a/crypto/stack/stack_test.cc +++ b/crypto/stack/stack_test.cc @@ -31,9 +31,9 @@ using TEST_INT = int; static void TEST_INT_free(TEST_INT *x) { OPENSSL_free(x); } -namespace bssl { +BSSL_NAMESPACE_BEGIN BORINGSSL_MAKE_DELETER(TEST_INT, TEST_INT_free) -} // namespace bssl +BSSL_NAMESPACE_END static bssl::UniquePtr TEST_INT_new(int x) { bssl::UniquePtr ret(