Skip to content

Commit

Permalink
Code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
popovaan committed Jun 19, 2024
1 parent e1af5ee commit 5eeb2ae
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/core/tests/frontend/mock_frontend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ class FrontEndMock : public FrontEnd {
bool supported_impl(const std::vector<ov::Any>& variants) const override {
// Last boolean flag in `variants` (if presented) is reserved for FE configuration
size_t extra_variants_num = variants.size() > 0 && variants[variants.size() - 1].is<bool>() ? 1 : 0;
if (variants.size() == 1 + extra_variants_num && (variants[0].is<std::string>() || variants[0].is<std::wstring>())) {
if (variants.size() == 1 + extra_variants_num &&
(variants[0].is<std::string>() || variants[0].is<std::wstring>())) {
std::string command;
if (variants[0].is<std::string>()) {
command = variants[0].as<std::string>();
Expand All @@ -158,7 +159,8 @@ class FrontEndMock : public FrontEnd {
// Last boolean flag in `variants` (if presented) is reserved for FE configuration
size_t extra_variants_num = variants.size() > 0 && variants[variants.size() - 1].is<bool>() ? 1 : 0;
auto input_model = std::make_shared<InputModelMock>();
if (variants.size() == 1 + extra_variants_num && (variants[0].is<std::string>() || variants[0].is<std::wstring>())) {
if (variants.size() == 1 + extra_variants_num &&
(variants[0].is<std::string>() || variants[0].is<std::wstring>())) {
std::string command;
if (variants[0].is<std::string>()) {
command = variants[0].as<std::string>();
Expand Down

0 comments on commit 5eeb2ae

Please sign in to comment.