mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-18 21:21:17 +00:00
GCC11/Libstdc++11 Compilation fixes (#7599)
Authored-by: Ankur Verma <ankurv@microsoft.com>
This commit is contained in:
parent
16297a8e61
commit
de4089f8cb
2 changed files with 2 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ class ValidNodes {
|
|||
using const_reference = const T&;
|
||||
|
||||
/** Construct a NodeInterator and move to the first valid node. */
|
||||
NodeIterator<TIterator>(const TIterator current, const TIterator end, const NodeFilterFunc& filter_fn) noexcept
|
||||
NodeIterator(const TIterator current, const TIterator end, const NodeFilterFunc& filter_fn) noexcept
|
||||
: current_{current}, end_{end}, apply_filter_{filter_fn != nullptr}, filter_func_{&filter_fn} {
|
||||
// skip to next valid node, stopping at end if none are found
|
||||
while (current_ < end && (*current_ == nullptr ||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
// Licensed under the MIT License.
|
||||
|
||||
#include <future>
|
||||
#include <thread>
|
||||
#include "gtest/gtest.h"
|
||||
#include "gmock/gmock.h"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue