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:
062f5d6
)
[test][iter] minor, fix double promotion warning
author
Ebrahim Byagowi
<ebrahim@gnu.org>
Tue, 2 Apr 2019 20:18:59 +0000
(
00:48
+0430)
committer
GitHub
<noreply@github.com>
Tue, 2 Apr 2019 20:18:59 +0000
(
00:48
+0430)
src/test-iter.cc
patch
|
blob
|
history
diff --git
a/src/test-iter.cc
b/src/test-iter.cc
index
8825374
..
675bbe3
100644
(file)
--- a/
src/test-iter.cc
+++ b/
src/test-iter.cc
@@
-185,7
+185,7
@@
main (int argc, char **argv)
unsigned int temp3 = 0;
+ hb_iter(src)
| hb_map([&] (int i) -> int { return ++temp3; })
- | hb_reduce([&] (float acc, int value) -> float { return acc + value
+ .05
; }, 0)
+ | hb_reduce([&] (float acc, int value) -> float { return acc + value; }, 0)
;
hb_map_destroy (result);