Skip to content

Commit 3873b02

Browse files
author
Aditya Rastogi
committed
Increment version on static assert
1 parent b5a9edf commit 3873b02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxruntime/core/session/onnxruntime_c_api.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4257,7 +4257,7 @@ static_assert(offsetof(OrtApi, SetEpDynamicOptions) / sizeof(void*) == 284, "Siz
42574257
static_assert(offsetof(OrtApi, GetEpApi) / sizeof(void*) == 317, "Size of version 22 API cannot change");
42584258

42594259
// So that nobody forgets to finish an API version, this check will serve as a reminder:
4260-
static_assert(std::string_view(ORT_VERSION) == "1.23.3",
4260+
static_assert(std::string_view(ORT_VERSION) == "1.23.4",
42614261
"ORT_Version change detected, please follow below steps to ensure OrtApi is updated properly");
42624262
// 1. Update the hardcoded version string in above static_assert to silence it
42634263
// 2. If there were any APIs added to ort_api_1_to_23 above:

0 commit comments

Comments
 (0)