S18: extend channel-pairing static_assert to all four UID words
This commit is contained in:
@@ -44,11 +44,17 @@
|
|||||||
// the couplable compile-time fact is the UID selection, not the namespace value; the
|
// the couplable compile-time fact is the UID selection, not the namespace value; the
|
||||||
// app_version_tests pin the namespace string per channel.)
|
// app_version_tests pin the namespace string per channel.)
|
||||||
#if REASAMPLER_CHANNEL_IS_BETA
|
#if REASAMPLER_CHANNEL_IS_BETA
|
||||||
static_assert(REASAMPLER_ACTIVE_UID_1 == REASAMPLER_PROC_UID_BETA_1,
|
static_assert(REASAMPLER_ACTIVE_UID_1 == REASAMPLER_PROC_UID_BETA_1 &&
|
||||||
|
REASAMPLER_ACTIVE_UID_2 == REASAMPLER_PROC_UID_BETA_2 &&
|
||||||
|
REASAMPLER_ACTIVE_UID_3 == REASAMPLER_PROC_UID_BETA_3 &&
|
||||||
|
REASAMPLER_ACTIVE_UID_4 == REASAMPLER_PROC_UID_BETA_4,
|
||||||
"S18: a beta build must register the BETA class UID that pairs with the beta "
|
"S18: a beta build must register the BETA class UID that pairs with the beta "
|
||||||
"extension's ext-state namespace — the UID selection and the channel bit split");
|
"extension's ext-state namespace — the UID selection and the channel bit split");
|
||||||
#else
|
#else
|
||||||
static_assert(REASAMPLER_ACTIVE_UID_1 == REASAMPLER_PROC_UID_1,
|
static_assert(REASAMPLER_ACTIVE_UID_1 == REASAMPLER_PROC_UID_1 &&
|
||||||
|
REASAMPLER_ACTIVE_UID_2 == REASAMPLER_PROC_UID_2 &&
|
||||||
|
REASAMPLER_ACTIVE_UID_3 == REASAMPLER_PROC_UID_3 &&
|
||||||
|
REASAMPLER_ACTIVE_UID_4 == REASAMPLER_PROC_UID_4,
|
||||||
"S18: a stable build must register the STABLE class UID that pairs with the "
|
"S18: a stable build must register the STABLE class UID that pairs with the "
|
||||||
"stable ext-state namespace — the UID selection and the channel bit split");
|
"stable ext-state namespace — the UID selection and the channel bit split");
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user