mirror of https://gitee.com/bigwinds/arangodb
Add a useful const.
This commit is contained in:
parent
272aa89904
commit
8ba8ffcbb1
|
@ -773,7 +773,7 @@ TRI_json_t* TRI_LookupListJson (const TRI_json_t* const object, const size_t pos
|
|||
void TRI_InsertArrayJson (TRI_memory_zone_t* zone,
|
||||
TRI_json_t* object,
|
||||
char const* name,
|
||||
TRI_json_t* subobject) {
|
||||
TRI_json_t const* subobject) {
|
||||
TRI_json_t copy;
|
||||
char* att;
|
||||
size_t length;
|
||||
|
|
|
@ -329,7 +329,7 @@ TRI_json_t* TRI_LookupListJson (const TRI_json_t* const , const size_t);
|
|||
/// @brief adds a new attribute to an object, using copy
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void TRI_InsertArrayJson (TRI_memory_zone_t*, TRI_json_t* object, char const* name, TRI_json_t* subobject);
|
||||
void TRI_InsertArrayJson (TRI_memory_zone_t*, TRI_json_t* object, char const* name, TRI_json_t const* subobject);
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief adds a new attribute to an object, not copying it
|
||||
|
|
Loading…
Reference in New Issue