Make |BORINGSSL_MAKE_UP_REF| a no-op when C++ is disabled.
Change-Id: I436cc772eb975ad989035ee154a2e050c65e2961 Reviewed-on: https://boringssl-review.googlesource.com/29664 Commit-Queue: David Benjamin <davidben@google.com> Reviewed-by: David Benjamin <davidben@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
parent
c312fd02f6
commit
428fb3ad52
@ -378,6 +378,7 @@ extern "C++" {
|
|||||||
#if defined(BORINGSSL_NO_CXX)
|
#if defined(BORINGSSL_NO_CXX)
|
||||||
|
|
||||||
#define BORINGSSL_MAKE_DELETER(type, deleter)
|
#define BORINGSSL_MAKE_DELETER(type, deleter)
|
||||||
|
#define BORINGSSL_MAKE_UP_REF(type, up_ref_func)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user