GCC11/Libstdc++11 Compilation fixes (#7599)

Authored-by: Ankur Verma <ankurv@microsoft.com>
This commit is contained in:
ankurverma85 2021-05-10 12:50:08 -07:00 committed by GitHub
parent 16297a8e61
commit de4089f8cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -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 ||

View file

@ -2,6 +2,7 @@
// Licensed under the MIT License.
#include <future>
#include <thread>
#include "gtest/gtest.h"
#include "gmock/gmock.h"