aboutsummaryrefslogtreecommitdiffstats
path: root/include/lv2
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-08-23 11:14:02 -0400
committerDavid Robillard <d@drobilla.net>2023-08-23 11:14:02 -0400
commit5bb15b2b62fe1fe25028b29f1243757fdb8c7dbf (patch)
tree05f4b9a593e382e83e7a49455d5237be523241f3 /include/lv2
parent54703e427ceab193d22a8c6ffff5a495fd087c79 (diff)
downloadlv2-5bb15b2b62fe1fe25028b29f1243757fdb8c7dbf.tar.xz
Suppress clang-tidy warning
Diffstat (limited to 'include/lv2')
-rw-r--r--include/lv2/atom/forge.h1
1 files changed, 1 insertions, 0 deletions
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);
}