Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Dec 31, 2024
1 parent 7c9162d commit 223a0b8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/ruisapp/glue/sdl/glue.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -599,9 +599,11 @@ void application::set_mouse_cursor_visible(bool visible)
// TODO:
}

namespace{
void main_loop_iteration(void* user_data){
namespace {
void main_loop_iteration(void* user_data)
{
ASSERT(user_data)
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-reinterpret-cast)
auto app = reinterpret_cast<ruisapp::application*>(user_data);

auto& ww = get_impl(*app);
Expand Down Expand Up @@ -736,7 +738,7 @@ void main_loop_iteration(void* user_data){
update_window_rect(*app, ruis::rect(0, new_win_dims));
}
}
}
} // namespace

int main(int argc, const char** argv)
{
Expand Down

0 comments on commit 223a0b8

Please sign in to comment.