mirror of https://gitee.com/bigwinds/arangodb
Add deleted constructor to avoid the compiler falling through to the bool constructor in case of missuse.
This commit is contained in:
parent
3fe8831a03
commit
37a636d929
|
@ -486,6 +486,8 @@ namespace triagens {
|
|||
: _zone(z), _json(j), _autofree(autofree) {
|
||||
}
|
||||
|
||||
explicit Json (TRI_json_t* j) = delete;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief "copy" constructor, note that in the AUTOFREE case this steals
|
||||
/// the structure from j to allow returning Json objects by value without
|
||||
|
|
Loading…
Reference in New Issue