Skip to content

Commit 87ef7cc

Browse files
committed
fix lint
1 parent 9eb55c1 commit 87ef7cc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/ruisapp/glue/egl_utils.hxx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ public:
136136
// (XGetVisualInfo() fails) or crashes inside the Wayland EGL driver.
137137
if (platform != 0) {
138138
auto egl_get_platform_display =
139+
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-reinterpret-cast, "false-positive: eglGetProcAddress() is designed to be used with reinterpret_cast")
139140
reinterpret_cast<PFNEGLGETPLATFORMDISPLAYEXTPROC>(eglGetProcAddress("eglGetPlatformDisplayEXT"));
140141

141142
if (egl_get_platform_display) {

0 commit comments

Comments
 (0)