- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitd66997d
committed
Avoid mixing designated and non-designated field initializers.
As revised by commit9324c8c, PG_MODULE_MAGIC constructed astruct initializer containing both designated fields and anon-designated "0". That's okay in C, but not in C++, withthe result that extensions written in C++ failed to compile.Change it to use only designated field initializers.Author: Yurii Rashkovskii <yrashk@omnigres.com>Discussion:https://postgr.es/m/CAG=VW14mctsR543gpzLCuJ9JgJqwa=ptmBfGvxEjs+k8Jf7-Bg@mail.gmail.com1 parent0f3604a commitd66997d
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
522 | 522 |
| |
523 | 523 |
| |
524 | 524 |
| |
525 |
| - | |
| 525 | + | |
526 | 526 |
| |
527 | 527 |
| |
528 | 528 |
| |
|
0 commit comments
Comments
(0)