From 5bb15b2b62fe1fe25028b29f1243757fdb8c7dbf Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 23 Aug 2023 11:14:02 -0400 Subject: Suppress clang-tidy warning --- include/lv2/atom/forge.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/lv2/atom/forge.h b/include/lv2/atom/forge.h index 5656079..d651d70 100644 --- a/include/lv2/atom/forge.h +++ b/include/lv2/atom/forge.h @@ -147,6 +147,7 @@ lv2_atom_forge_init(LV2_Atom_Forge* forge, LV2_URID_Map* map) static inline LV2_Atom* lv2_atom_forge_deref(LV2_Atom_Forge* forge, LV2_Atom_Forge_Ref ref) { + // NOLINTNEXTLINE(performance-no-int-to-ptr) return forge->buf ? (LV2_Atom*)ref : forge->deref(forge->handle, ref); } -- cgit v1.2.1