mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
capture-cursor: specify const for condition
We don't modify this, so it can be const.
This commit is contained in:
@ -145,7 +145,7 @@ sp_capture_cursor_foreach (SpCaptureCursor *self,
|
||||
{
|
||||
for (guint i = 0; i < self->conditions->len; i++)
|
||||
{
|
||||
SpCaptureCondition *condition = g_ptr_array_index (self->conditions, i);
|
||||
const SpCaptureCondition *condition = g_ptr_array_index (self->conditions, i);
|
||||
|
||||
if (sp_capture_condition_match (condition, frame))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user