Commit 3a7fba8e authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[master] Use const reference instead of creating a copy of Name

parent 7f026c48
......@@ -166,7 +166,7 @@ ConfigurableClientList_getCachedZoneWriter(PyObject* po_self, PyObject* args) {
const char* datasrc_name_p = "";
if (PyArg_ParseTuple(args, "O!|s", &isc::dns::python::name_type,
&name_obj, &datasrc_name_p)) {
const isc::dns::Name
const isc::dns::Name&
const std::string datasrc_name(datasrc_name_p);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment