Skip to content

Commit c33c2e9

Browse files
authored
[core] Remove workaround for rt-info tests (#32721)
### Details: - Edit remove WA as is not required any more. ### Tickets: - CVS-174684 Signed-off-by: Raasz, Pawel <[email protected]>
1 parent 4a3458c commit c33c2e9

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

src/frontends/ir/tests/rt_info_custom.cpp

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,7 @@
1010
#include "openvino/op/abs.hpp"
1111
#include "openvino/pass/serialize.hpp"
1212
#include "openvino/runtime/core.hpp"
13-
14-
#define XML_UTIL_LINKAGE_WORKAROUND
15-
/*
16-
There is an issue with doubled definition of stringstream on MSVC 14.44 (VS 17 2022):
17-
openvinod.lib(openvinod.dll) : error LNK2005: "protected: __cdecl std::basic_streambuf<char,struct
18-
std::char_traits<char> >::basic_streambuf<char,struct std::char_traits<ch ar> >(void)"
19-
(??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAA@XZ) already defined in frontend_test_basic.obj
20-
[D:\ov\build\src\frontends\ir\tests\ov_ir_frontend_tests .vcxproj]
21-
It's not certain whether it's OV or MS problem, thus the workaround.
22-
*/
23-
#ifdef XML_UTIL_LINKAGE_WORKAROUND
24-
namespace ov::util {
25-
OPENVINO_API std::string rt_info_get_user_name(const std::string& custom_name);
26-
OPENVINO_API Any& rt_info_get_user_data(AnyMap& rt_map, const std::string& custom_name);
27-
OPENVINO_API const Any& rt_info_get_user_data(const AnyMap& rt_map, const std::string& custom_name);
28-
OPENVINO_API void rt_info_set_user_data(AnyMap& rt_map, const std::string& custom_name, const Any& value);
29-
} // namespace ov::util
30-
#else
31-
# include "openvino/xml_util/xml_serialize_util.hpp"
32-
#endif
13+
#include "openvino/xml_util/xml_serialize_util.hpp"
3314

3415
namespace ov::test {
3516

0 commit comments

Comments
 (0)