Skip to content

Commit a1ff14c

Browse files
MediaPipe Teamcopybara-github
authored andcommitted
No public description
PiperOrigin-RevId: 955837818
1 parent 0c1624a commit a1ff14c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

mediapipe/python/pybind/calculator_graph.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ void CalculatorGraphSubmodule(pybind11::module* module) {
117117
"\'validated_graph_config\' to initialize the "
118118
"graph with a ValidatedGraphConfig object.");
119119
}
120-
auto calculator_graph = absl::make_unique<CalculatorGraph>();
120+
auto calculator_graph = std::make_unique<CalculatorGraph>();
121121
RaisePyErrorIfNotOk(calculator_graph->Initialize(graph_config_proto));
122122
return calculator_graph.release();
123123
}),

mediapipe/python/pybind/packet_creator.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ void InternalPacketCreators(pybind11::module* m) {
682682
m->def(
683683
"_create_image_frame_from_image_frame",
684684
[](ImageFrame& image_frame) {
685-
auto image_frame_copy = absl::make_unique<ImageFrame>();
685+
auto image_frame_copy = std::make_unique<ImageFrame>();
686686
// Set alignment_boundary to kGlDefaultAlignmentBoundary so that
687687
// both GPU and CPU can process it.
688688
image_frame_copy->CopyFrom(image_frame,
@@ -694,7 +694,7 @@ void InternalPacketCreators(pybind11::module* m) {
694694
m->def(
695695
"_create_image_from_image",
696696
[](Image& image) {
697-
auto image_frame_copy = absl::make_unique<ImageFrame>();
697+
auto image_frame_copy = std::make_unique<ImageFrame>();
698698
// Set alignment_boundary to kGlDefaultAlignmentBoundary so that
699699
// both GPU and CPU can process it.
700700
image_frame_copy->CopyFrom(*image.GetImageFrameSharedPtr(),

0 commit comments

Comments
 (0)