]> Savannah Git Hosting - gnulib.git/commit
verify: Avoid syntax error due to static_assert with MSVC 14 in C++.
authorBruno Haible <bruno@clisp.org>
Sun, 18 Sep 2022 19:17:11 +0000 (21:17 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 18 Sep 2022 19:17:11 +0000 (21:17 +0200)
commit1493d76c9f27ce99cbe29e8da172d2d785ddb325
treed85ef70c2ce41f159a1401ccc57af9cc9d106e0e
parent30e05eca5e3b117151711b767ab97877393365d4
verify: Avoid syntax error due to static_assert with MSVC 14 in C++.

* lib/verify.h (static_assert): For MSVC in C++ mode, use a definition
that supports both the two-arguments and the one-argument syntax.
ChangeLog
lib/verify.h