Commit 9c6d511
avoid warning attributes on mixing inline and noinline in MicroLock
Summary:
```
In file included from folly/MicroLock.cpp:17:
folly/MicroLock.h:211:45: error: inline declaration of 'void folly::MicroLockCore::store(uint8_t, std::memory_order)' follows declaration with attribute 'noinline' [-Werror=attributes]
211 | uint8_t value, std::memory_order order) noexcept {
| ^~~~~~~~
folly/MicroLock.h:175:33: note: previous declaration of 'void folly::MicroLockCore::store(uint8_t, std::memory_order)' here
175 | FOLLY_DISABLE_SANITIZERS void store(
| ^~~~~
```
Reviewed By: dmm-fb
Differential Revision: D72512858
fbshipit-source-id: 629dc9e9b3b1d6593b0a2453ce66a9ef6f93664a1 parent b26ffd9 commit 9c6d511
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
207 | 208 | | |
208 | 209 | | |
209 | 210 | | |
| 211 | + | |
| 212 | + | |
210 | 213 | | |
211 | 214 | | |
212 | 215 | | |
| |||
221 | 224 | | |
222 | 225 | | |
223 | 226 | | |
| 227 | + | |
224 | 228 | | |
225 | 229 | | |
226 | 230 | | |
| |||
0 commit comments