X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Foptional.h;h=faa64bf604e424adc2aefcda50b044c028c0a507;hb=17182cfd13b6d35cf8c80d4f9ccf8d2bdd1a05f2;hp=0d99fe3224f4e419679d22627a0f4899f0c2a9d2;hpb=3da864a94ccc39239fea82c4803b58b6b56a1003;p=lttng-tools.git 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; \ })