Skip to content

Commit

Permalink
Use map instead unordered map
Browse files Browse the repository at this point in the history
  • Loading branch information
praasz committed Oct 31, 2024
1 parent c6a89b8 commit f59f5f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bindings/c/src/ov_prepostprocess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const std::map<ov_color_format_e, ov::preprocess::ColorFormat> color_format_map
{ov_color_format_e::RGBX, ov::preprocess::ColorFormat::RGBX},
{ov_color_format_e::BGRX, ov::preprocess::ColorFormat::BGRX}};

const std::unordered_map<ov_padding_mode_e, ov::preprocess::PaddingMode> padding_mode_map = {
const std::map<ov_padding_mode_e, ov::preprocess::PaddingMode> padding_mode_map = {
{ov_padding_mode_e::CONSTANT, ov::preprocess::PaddingMode::CONSTANT},
{ov_padding_mode_e::EDGE, ov::preprocess::PaddingMode::EDGE},
{ov_padding_mode_e::REFLECT, ov::preprocess::PaddingMode::REFLECT},
Expand Down

0 comments on commit f59f5f8

Please sign in to comment.