remove const from data() type

pull/3107/head
Alistair Veitch 9 years ago
parent 5b61479b0b
commit e41d9d5f93
  1. 4
      include/grpc/census.h

@ -425,9 +425,9 @@ typedef struct {
/* Return current aggregation data. The caller must cast this object into
the correct type for the aggregation result. The object returned can be
freed by using free_data(). */
const void *(*data)(const void *aggregation);
void *(*data)(const void *aggregation);
/* free data returned by data() */
void (*free_data)(const void *data);
void (*free_data)(void *data);
/* Reset an aggregation to default (zero) values. */
void (*reset)(void *aggregation);
/* Merge 'from' aggregation into 'to'. Both aggregations must be compatible */

Loading…
Cancel
Save