Minor build fix (pointer must be dereferenced with ->)

This commit is contained in:
Mehdi Amini
2020-08-14 16:54:01 +00:00
parent d137db8029
commit 8f3f101b95

View File

@@ -97,7 +97,7 @@ MlirContext mlirContextCreate() {
void mlirContextDestroy(MlirContext context) { delete unwrap(context); }
void mlirContextLoadAllDialects(MlirContext context) {
unwrap(context).loadAllGloballyRegisteredDialects();
unwrap(context)->loadAllGloballyRegisteredDialects();
}
/* ========================================================================== */