pgsql: Fix StaticAssertExpr() under C++

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Fix StaticAssertExpr() under C++
Дата
Msg-id E1encAe-0005uF-7G@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Message style fix
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Remove redundant initialization of a local variable.