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 <davidben@google.com> Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
parent
8b0dad4a7f
commit
00d72d342f
@ -31,9 +31,9 @@ using TEST_INT = int;
|
|||||||
|
|
||||||
static void TEST_INT_free(TEST_INT *x) { OPENSSL_free(x); }
|
static void TEST_INT_free(TEST_INT *x) { OPENSSL_free(x); }
|
||||||
|
|
||||||
namespace bssl {
|
BSSL_NAMESPACE_BEGIN
|
||||||
BORINGSSL_MAKE_DELETER(TEST_INT, TEST_INT_free)
|
BORINGSSL_MAKE_DELETER(TEST_INT, TEST_INT_free)
|
||||||
} // namespace bssl
|
BSSL_NAMESPACE_END
|
||||||
|
|
||||||
static bssl::UniquePtr<TEST_INT> TEST_INT_new(int x) {
|
static bssl::UniquePtr<TEST_INT> TEST_INT_new(int x) {
|
||||||
bssl::UniquePtr<TEST_INT> ret(
|
bssl::UniquePtr<TEST_INT> ret(
|
||||||
|
Loading…
Reference in New Issue
Block a user