diff --git a/onnxruntime/test/providers/tensorrt/tensorrt_basic_test.cc b/onnxruntime/test/providers/tensorrt/tensorrt_basic_test.cc index 3c5ac170e6a38..d9f917f6d187c 100644 --- a/onnxruntime/test/providers/tensorrt/tensorrt_basic_test.cc +++ b/onnxruntime/test/providers/tensorrt/tensorrt_basic_test.cc @@ -18,10 +18,6 @@ using namespace std; using namespace ONNX_NAMESPACE; using namespace ::onnxruntime::logging; -// Once we use C++17 this could be replaced with std::size -template -constexpr size_t countof(T (&)[N]) { return N; } - namespace onnxruntime { namespace test {