pgsql: Fix StaticAssertExpr() under C++ - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Fix StaticAssertExpr() under C++
Date
Msg-id E1encAe-0005uF-7G@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ebf6049ebea19e4123fefce7b542189e84084cd1

Modified Files
--------------
src/include/c.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Message style fix
Next
From: Tom Lane
Date:
Subject: pgsql: Remove redundant initialization of a local variable.