@@ -90,11 +90,11 @@ TEST_F(CoreThreadingTests, SetConfigPluginDoesNotExist) {
9090TEST_F (CoreThreadingTests, RegisterPlugin) {
9191 ov::Core core;
9292 std::atomic<int > index{0 };
93- auto plugin_path = ov::util::make_plugin_library_name (ov::test::utils::getExecutableDirectory (),
94- std::string (" mock_engine" ) + OV_BUILD_POSTFIX);
93+ const auto plugin_path = ov::util::make_plugin_library_name (ov::test::utils::getExecutableDirectory (),
94+ std::string (" mock_engine" ) + OV_BUILD_POSTFIX);
9595 runParallel (
9696 [&]() {
97- const std::string deviceName = std::to_string (index++);
97+ const auto deviceName = std::to_string (index++);
9898 core.register_plugin (plugin_path, deviceName);
9999 core.get_versions (deviceName);
100100 core.unload_plugin (deviceName);
@@ -110,12 +110,12 @@ TEST_F(CoreThreadingTests, RegisterPlugins) {
110110# endif
111111 ov::Core core;
112112 std::atomic<unsigned int > index{0 };
113- auto file_prefix = ov::test::utils::generateTestFilePrefix ();
114- auto plugin_path = ov::util::make_plugin_library_name (ov::test::utils::getExecutableDirectory (),
115- std::string (" mock_engine" ) + OV_BUILD_POSTFIX);
113+ const auto file_prefix = ov::test::utils::generateTestFilePrefix ();
114+ const auto plugin_path = ov::util::make_plugin_library_name (ov::test::utils::getExecutableDirectory (),
115+ std::string (" mock_engine" ) + OV_BUILD_POSTFIX);
116116
117117 auto getPluginXml = [&]() -> std::tuple<std::filesystem::path, std::string> {
118- std::string indexStr = std::to_string (index++);
118+ const auto indexStr = std::to_string (index++);
119119 std::filesystem::path pluginsXML = file_prefix + indexStr + " .xml" ;
120120 std::ofstream file (pluginsXML);
121121
@@ -127,7 +127,7 @@ TEST_F(CoreThreadingTests, RegisterPlugins) {
127127 file.flush ();
128128 file.close ();
129129
130- return std::tie (pluginsXML, indexStr);
130+ return std::make_tuple (pluginsXML, indexStr);
131131 };
132132
133133 runParallel (
0 commit comments