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

This commit is contained in:
Aaron Gokaslan 2022-08-01 15:48:44 -04:00 committed by GitHub
parent f8e8403b85
commit 88a1bb9260
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}