X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Foptional.h;h=faa64bf604e424adc2aefcda50b044c028c0a507;hp=0d99fe3224f4e419679d22627a0f4899f0c2a9d2;hb=a321667af6f25a77e32787fe89ad306786f7b29a;hpb=3da864a94ccc39239fea82c4803b58b6b56a1003 diff --git a/src/common/optional.h b/src/common/optional.h index 0d99fe322..faa64bf60 100644 --- a/src/common/optional.h +++ b/src/common/optional.h @@ -62,7 +62,7 @@ * wrapped optional types. It is meant to be used with PODs. */ #define LTTNG_OPTIONAL_GET(optional) \ - ({ \ + ({ \ assert((optional).is_set); \ (optional).value; \ })