commit | e211642b09810c73ceb168fbdd54e10d0baae8f6 | [log] [tgz] |
---|---|---|
author | dschinazi <dschinazi@google.com> | Tue Oct 29 11:54:26 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Oct 29 11:55:00 2019 -0700 |
tree | 0089803919f9e73701a2e44d22d5d745fe78820b | |
parent | a6f661ca5453307f8ce79b68c4646f6b372ad21c [diff] [blame] |
Introduce QUIC_NO_EXPORT This CL replaces the /*QUIC_EXPORT_PRIVATE*/ annotation with QUIC_NO_EXPORT and changes the presubmit to allow that. QUIC_NO_EXPORT was added to Chromium via: https://chromium-review.googlesource.com/c/chromium/src/+/1885392 gfe-relnote: n/a, comment-only change PiperOrigin-RevId: 277332771 Change-Id: I2badefc67bae486e5908925daeecb6886b174532
diff --git a/quic/core/quic_arena_scoped_ptr.h b/quic/core/quic_arena_scoped_ptr.h index 938ae71..92da3db 100644 --- a/quic/core/quic_arena_scoped_ptr.h +++ b/quic/core/quic_arena_scoped_ptr.h
@@ -20,7 +20,7 @@ namespace quic { template <typename T> -class /*QUIC_EXPORT_PRIVATE*/ QuicArenaScopedPtr { +class QUIC_NO_EXPORT QuicArenaScopedPtr { static_assert(QUIC_ALIGN_OF(T*) > 1, "QuicArenaScopedPtr can only store objects that are aligned to " "greater than 1 byte.");