Commit 88a1bb92 by Aaron Gokaslan Committed by GitHub

chore: remove unnecessary temporary std::pair (#4103)

parent f8e8403b
......@@ -2073,7 +2073,7 @@ struct enum_base {
+ "\" already exists!");
}
entries[name] = std::make_pair(value, doc);
entries[name] = pybind11::make_tuple(value, doc);
m_base.attr(std::move(name)) = std::move(value);
}
......
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