Skip to content

Commit 0c10ebb

Browse files
ielizivikhrev
andauthored
Apply suggestions from code review
Co-authored-by: Ivan Vikhrev <[email protected]>
1 parent 794f7da commit 0c10ebb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

demos/interactive_face_detection_demo/cpp/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,14 @@ void parse(int argc, char *argv[]) {
116116
"\n\t\tP, p, 0, spacebar - Pause"
117117
"\n\t\tC - average CPU load, D - load distribution over cores, M - memory usage, H - hide\n";
118118
showAvailableDevices();
119-
slog::info << ov::get_openvino_version() << slog::endl;
119+
std::cout << ov::get_openvino_version() << std::endl;
120120
exit(0);
121121
} if (FLAGS_i.empty()) {
122122
throw std::invalid_argument{"-i <INPUT> can't be empty"};
123123
} if (FLAGS_m.empty()) {
124124
throw std::invalid_argument{"-m <MODEL FILE> can't be empty"};
125125
}
126-
slog::info << ov::get_openvino_version() << slog::endl;
126+
return;
127127
}
128128
} // namespace
129129

demos/interactive_face_detection_demo/cpp_gapi/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,14 +152,14 @@ void parse(int argc, char *argv[]) {
152152
"\n\t\tP, p, 0, spacebar - Pause"
153153
"\n\t\tC - average CPU load, D - load distribution over cores, M - memory usage, H - hide\n";
154154
showAvailableDevices();
155-
slog::info << ov::get_openvino_version() << slog::endl;
155+
std::cout << ov::get_openvino_version() << std::endl;
156156
exit(0);
157157
} if (FLAGS_i.empty()) {
158158
throw std::invalid_argument{"-i <INPUT> can't be empty"};
159159
} if (FLAGS_m.empty()) {
160160
throw std::invalid_argument{"-m <MODEL FILE> can't be empty"};
161161
}
162-
slog::info << ov::get_openvino_version() << slog::endl;
162+
return;
163163
}
164164

165165
static const std::vector<std::string> EMOTION_VECTOR = {"neutral",

0 commit comments

Comments
 (0)