Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
5ef9f63a
Commit
5ef9f63a
authored
Jun 03, 2021
by
Vasilii Pochkaenko
Committed by
Vasilii POchkaenko
Jun 15, 2021
Browse files
feat: make a matcher ElementsAreArray applicable for std ranges
parent
ae8d1fc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
googlemock/include/gmock/gmock-matchers.h
googlemock/include/gmock/gmock-matchers.h
+2
-2
No files found.
googlemock/include/gmock/gmock-matchers.h
View file @
5ef9f63a
...
...
@@ -3527,8 +3527,8 @@ inline internal::ElementsAreArrayMatcher<T> ElementsAreArray(
}
template
<
typename
Container
>
inline
internal
::
ElementsAreArray
Matcher
<
typename
Container
::
value_type
>
ElementsAreArray
(
con
st
Container
&
container
)
{
inline
auto
ElementsAreArray
(
const
Container
&
container
)
->
decltype
(
ElementsAreArray
(
con
tainer
.
begin
(),
container
.
end
())
)
{
return
ElementsAreArray
(
container
.
begin
(),
container
.
end
());
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment