Skip to content

Commit e39ab83

Browse files
derekmaurocopybara-github
authored andcommitted
Internal cleanup
PiperOrigin-RevId: 483386217
1 parent 3dfd88e commit e39ab83

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

tree/tree.cc

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ limitations under the License.
1919
#include <unordered_map>
2020

2121
// logging
22-
#include "absl/memory/memory.h"
2322
#include "absl/strings/str_cat.h"
2423
#include "absl/strings/string_view.h"
2524
#include <pybind11/pybind11.h>
@@ -721,13 +720,13 @@ void AssertSameStructure(PyObject* o1, PyObject* o2, bool check_types) {
721720

722721
ValueIteratorPtr GetValueIterator(PyObject* nested) {
723722
if (PyDict_Check(nested)) {
724-
return absl::make_unique<DictValueIterator>(nested);
723+
return std::make_unique<DictValueIterator>(nested);
725724
} else if (IsMappingHelper(nested)) {
726-
return absl::make_unique<MappingValueIterator>(nested);
725+
return std::make_unique<MappingValueIterator>(nested);
727726
} else if (IsAttrsHelper(nested)) {
728-
return absl::make_unique<AttrsValueIterator>(nested);
727+
return std::make_unique<AttrsValueIterator>(nested);
729728
} else {
730-
return absl::make_unique<SequenceValueIterator>(nested);
729+
return std::make_unique<SequenceValueIterator>(nested);
731730
}
732731
}
733732

0 commit comments

Comments
 (0)