Commit d80dd85
committed
PS-9621: Initialization of std::atomic_flag caller_active_ in Percona Telemetry component is not compliant with the standard
https://perconadev.atlassian.net/browse/PS-9621
Initialization of std::atomic_flag in the constructor's initializer
list is not compliant with the standard. Gcc allows it, however clang
issues a compilation warning which turns into error in maintainer mode
build.
(error: braces around scalar initializer [-Werror,-Wbraced-scalar-init])1 parent f01c613 commit d80dd85
2 files changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments