Skip to content
Commit 7b1520c4 authored by Ray Smith's avatar Ray Smith Committed by Marius Vlad
Browse files

helpers: don't override C++11's built-in static_assert



The #ifndef doesn't work with the built-in static_assert from C++11, so
it ends up getting redefined. It seems that there are other versions of
static_assert internally in some C++ standard library implementations
that have additional arguments, and these also get overwritten by the
two-argument version here.

Detect if we're using a suitably-recent version of C++ and avoid the
redefintion in that case.

Signed-off-by: default avatarRay Smith <rsmith@brightsign.biz>
parent 302a1b14
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment