]> granicus.if.org Git - postgresql/commit
Fix StaticAssertExpr() under C++
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 19 Feb 2018 03:20:54 +0000 (22:20 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 19 Feb 2018 03:28:11 +0000 (22:28 -0500)
commitebf6049ebea19e4123fefce7b542189e84084cd1
tree68754325d82e1294aabb3a5802be9944cfa0ae4c
parent2e1d1ebdffa2c69779573c2e561056cd08541e74
Fix StaticAssertExpr() under C++

The previous code didn't compile, because static_assert() must end with
a semicolon.  To fix, wrap it in a block, similar to the C code.
src/include/c.h