mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[build] Upgrade CMake build to googletest 1.11.0 (#3548)
This upgrade uncovered two issues: ntcore wasn't forcing C++17, which caused a linker error with googletest Matcher symbols: ``` undefined reference to `testing::Matcher<std::basic_string_view<char, std::char_traits<char> > >::Matcher(std::basic_string_view<char, std::char_traits<char> >)' ``` test_span.cpp wasn't including <algorithm> to use std::sort() and std::is_sorted().
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
|
||||
#include "wpi/span.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <deque>
|
||||
#include <initializer_list>
|
||||
|
||||
Reference in New Issue
Block a user