Commit 22d9a03
Omit the
In that mode we might not be able to make a `constexpr` pointer to the default
instance. Omitting the declaration will only turn off an optimization, but the
code will still be correct.
Fixes #17303
PiperOrigin-RevId: 649160060_raw_default_instance_ declaration when using DLL linkage.1 parent 7592817 commit 22d9a03
File tree
5 files changed
+13
-80
lines changed- src/google/protobuf
- compiler
- cpp
- java
5 files changed
+13
-80
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1904 | 1904 | | |
1905 | 1905 | | |
1906 | 1906 | | |
| 1907 | + | |
| 1908 | + | |
| 1909 | + | |
| 1910 | + | |
| 1911 | + | |
| 1912 | + | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
1907 | 1919 | | |
1908 | 1920 | | |
1909 | 1921 | | |
| |||
2043 | 2055 | | |
2044 | 2056 | | |
2045 | 2057 | | |
2046 | | - | |
2047 | | - | |
| 2058 | + | |
2048 | 2059 | | |
2049 | 2060 | | |
2050 | 2061 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments