diff options
author | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2018-08-03 16:19:28 +0200 |
---|---|---|
committer | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2018-08-03 14:20:31 +0000 |
commit | 607bcda07fa3cb5f9f2bb2c1eff43ae7144e8a37 (patch) | |
tree | d5e78d8557405d950b21e3a0efe4fc49d9a30618 | |
parent | 33838d85d4411b5084c1da80fcdcb6e66d4b146f (diff) |
Fix macOS build
Change-Id: Ifd8e5f02e437e6033c4f3dff169480ee4e236821
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
-rw-r--r-- | include/indexstore/IndexStoreCXX.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/indexstore/IndexStoreCXX.h b/include/indexstore/IndexStoreCXX.h index 82cd0b62d7..654a501af9 100644 --- a/include/indexstore/IndexStoreCXX.h +++ b/include/indexstore/IndexStoreCXX.h @@ -228,7 +228,11 @@ public: void setUnitEventHandler(UnitEventHandler handler) { if (!handler) { indexstore_store_set_unit_event_handler(obj, +#if INDEXSTORE_HAS_BLOCKS + ^(indexstore_unit_event_notification_t evt_note) {}); +#else [](indexstore_unit_event_notification_t evt_note){}); +#endif return; } |