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
gaoqiong
MIGraphX
Commits
4983fecd
Unverified
Commit
4983fecd
authored
Jul 14, 2021
by
Paul Fultz II
Committed by
GitHub
Jul 14, 2021
Browse files
Fix bug when using --continue in the tests (#884)
* Fix bug when using --continue in the tests * Formatting
parent
0b04fc80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
test/include/test.hpp
test/include/test.hpp
+4
-1
No files found.
test/include/test.hpp
View file @
4983fecd
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
#include <functional>
#include <functional>
#include <iostream>
#include <iostream>
#include <sstream>
#include <sstream>
#include <type_traits>
#include <unordered_map>
#include <unordered_map>
#include <vector>
#include <vector>
...
@@ -101,7 +102,9 @@ inline Stream& operator<<(Stream& s, std::nullptr_t)
...
@@ -101,7 +102,9 @@ inline Stream& operator<<(Stream& s, std::nullptr_t)
return
s
;
return
s
;
}
}
template
<
class
Stream
,
class
Range
>
template
<
class
Stream
,
class
Range
,
class
=
typename
std
::
enable_if
<
not
std
::
is_convertible
<
Range
,
std
::
string
>{}
>::
type
>
inline
auto
operator
<<
(
Stream
&
s
,
const
Range
&
v
)
->
decltype
(
stream_range
(
s
,
v
.
begin
(),
v
.
end
()))
inline
auto
operator
<<
(
Stream
&
s
,
const
Range
&
v
)
->
decltype
(
stream_range
(
s
,
v
.
begin
(),
v
.
end
()))
{
{
s
<<
"{ "
;
s
<<
"{ "
;
...
...
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