diff options
author | Marcin Kowalczyk <qrczak@google.com> | 2022-10-05 10:26:41 +0200 |
---|---|---|
committer | qrczak <qrczak@google.com> | 2022-10-05 10:38:16 +0200 |
commit | d644ca87706548b9a8bf1e13d7669c13c2607b7e (patch) | |
tree | c3da60d936c2646c1b516ab8ddda6b6b6860136a | |
parent | 9758c9dfd744f252bf3351c1a212e05c9f7fc857 (diff) | |
download | snappy-git-d644ca87706548b9a8bf1e13d7669c13c2607b7e.tar.gz |
Fix warnings due to use of `__attribute__(always_inline)` without `inline`.
PiperOrigin-RevId: 478984028
-rw-r--r-- | snappy.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1020,7 +1020,7 @@ void MemCopy64(ptrdiff_t dst, const void* src, size_t size) { } SNAPPY_ATTRIBUTE_ALWAYS_INLINE -size_t AdvanceToNextTagARMOptimized(const uint8_t** ip_p, size_t* tag) { +inline size_t AdvanceToNextTagARMOptimized(const uint8_t** ip_p, size_t* tag) { const uint8_t*& ip = *ip_p; // This section is crucial for the throughput of the decompression loop. // The latency of an iteration is fundamentally constrained by the @@ -1043,7 +1043,7 @@ size_t AdvanceToNextTagARMOptimized(const uint8_t** ip_p, size_t* tag) { } SNAPPY_ATTRIBUTE_ALWAYS_INLINE -size_t AdvanceToNextTagX86Optimized(const uint8_t** ip_p, size_t* tag) { +inline size_t AdvanceToNextTagX86Optimized(const uint8_t** ip_p, size_t* tag) { const uint8_t*& ip = *ip_p; // This section is crucial for the throughput of the decompression loop. // The latency of an iteration is fundamentally constrained by the |