Remove warning in release build

This commit is contained in:
Emil Ernerfeldt 2024-03-31 20:41:44 +02:00
parent a97134d66c
commit 3ee4890b94
1 changed files with 5 additions and 0 deletions

View File

@ -1213,6 +1213,11 @@ impl Context {
ctx.viewport().widgets_this_frame.set_info(id, make_info());
}
});
#[cfg(not(debug_assertions))]
{
_ = (self, id, make_info);
}
}
/// Get a full-screen painter for a new or existing layer