projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
743ff09
)
[iter] Test default-constructability
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 27 Dec 2018 00:56:37 +0000
(19:56 -0500)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 21 Jan 2019 01:12:12 +0000
(20:12 -0500)
src/test-iter.cc
patch
|
blob
|
history
diff --git
a/src/test-iter.cc
b/src/test-iter.cc
index
0e713e1
..
3fdf4df
100644
(file)
--- a/
src/test-iter.cc
+++ b/
src/test-iter.cc
@@
-65,6
+65,8
@@
struct some_array_t
template <typename Iterator> static void
test_iterator (Iterator it)
{
+ Iterator default_constructed;
+
/* Iterate over a copy of it. */
for (auto c = it.iter (); c; c++)
*c;