Re: [libvirt] [PATCH] virjson: Remove const from virJSONValueObjectForeachKeyValue

2016-12-14 Thread Peter Krempa
On Wed, Dec 14, 2016 at 15:36:17 +0100, Jiri Denemark wrote: > Almost none of our virJSONValue*Get* functions accept const virJSONValue > pointers and it wouldn't even make sense since we sometimes modify what > we get. And because there is no reason for preventing callers of >

[libvirt] [PATCH] virjson: Remove const from virJSONValueObjectForeachKeyValue

2016-12-14 Thread Jiri Denemark
Almost none of our virJSONValue*Get* functions accept const virJSONValue pointers and it wouldn't even make sense since we sometimes modify what we get. And because there is no reason for preventing callers of virJSONValueObjectForeachKeyValue from modifying the values they get in each iteration