aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc/census.h
diff options
context:
space:
mode:
authorGravatar Alistair Veitch <aveitch@google.com>2015-08-31 10:35:32 -0700
committerGravatar Alistair Veitch <aveitch@google.com>2015-08-31 10:35:32 -0700
commite41d9d5f930bb1ec3fc22a92c6f3604ca7e74575 (patch)
tree75008cf3dd8472ed150bf7cff7835bc5fa0ee374 /include/grpc/census.h
parent5b61479b0b5b968e26391476b59837951bddba02 (diff)
remove const from data() type
Diffstat (limited to 'include/grpc/census.h')
-rw-r--r--include/grpc/census.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/grpc/census.h b/include/grpc/census.h
index affb91968f..89eb12a36c 100644
--- a/include/grpc/census.h
+++ b/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 */