pgsql: Fix StaticAssertExpr() under C++

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix StaticAssertExpr() under C++
Date: 2018-02-19 03:31:16
Message-ID: E1encAe-0005uF-7G@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-02-19 04:33:15 pgsql: Remove redundant initialization of a local variable.
Previous Message Peter Eisentraut 2018-02-18 22:16:49 pgsql: Message style fix