Remove mxs::Closer<json_t*>
As std::unique_ptr can now be used with a json_t, there's no need for the closer.
This commit is contained in:
@ -286,7 +286,7 @@ private:
|
||||
static const std::string HTTPS_PREFIX;
|
||||
|
||||
std::map<std::string, std::string> m_options; /**< Request options */
|
||||
mxs::Closer<json_t*> m_json; /**< Request body */
|
||||
std::unique_ptr<json_t> m_json; /**< Request body */
|
||||
std::string m_json_string; /**< String version of @c m_json */
|
||||
std::string m_resource; /**< Requested resource */
|
||||
std::deque<std::string> m_resource_parts; /**< @c m_resource split into parts */
|
||||
|
||||
Reference in New Issue
Block a user