Skip to content

Commit 9b25b6a

Browse files
authored
FIX c++17 compatibility in backend_utils.h (microsoft#25299)
backward compatible `std::string log_tag` definition This allows compiling with c++17, tested in Debug and Release on Windows
1 parent a2bd54b commit 9b25b6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxruntime/core/providers/openvino/backend_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
namespace onnxruntime {
2929
namespace openvino_ep {
30-
constexpr std::string log_tag = "[OpenVINO-EP] ";
30+
inline const std::string log_tag = "[OpenVINO-EP] ";
3131

3232
struct ParameterShape {
3333
using ort_shape_t = std::vector<int64_t>;

0 commit comments

Comments
 (0)