Commit 2184427
committed
misc: adjust to compiler bug on RedHat 7
RedHat Enterprise Linux 7 has a bug in its toolchain - `std::string`
doesn't have `noexcept` default constructor despite standard demands it.
Unfortunately, this problem is popular and our users have filed several
reports of build failure because of this bug - constructor of `Stream`
cannot be declared as `Stream() noexcept = default;` because it contains
`std::string` fields which cannot be noexcept-default-constructible.
Let's simply replace it with `Stream() noexcept {};` construction - it
won't actually change anything anyway.1 parent e0a0de1 commit 2184427
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
125 | 130 | | |
126 | 131 | | |
127 | 132 | | |
| |||
0 commit comments