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:
507cac4
)
[arrays] Remove unnecessary constructor from Supplier<>
author
Behdad Esfahbod
<behdad@behdad.org>
Mon, 17 Dec 2018 04:33:03 +0000
(23:33 -0500)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 17 Dec 2018 04:33:03 +0000
(23:33 -0500)
Looks like operator hb_array_t<> from vector works here. :)
src/hb-machinery.hh
patch
|
blob
|
history
diff --git
a/src/hb-machinery.hh
b/src/hb-machinery.hh
index
2ccc094
..
94eabeb
100644
(file)
--- a/
src/hb-machinery.hh
+++ b/
src/hb-machinery.hh
@@
-654,11
+654,6
@@
struct Supplier : hb_array_t<const Type>
this->arrayZ = v.arrayZ;
this->len = v.len;
}
- Supplier (const hb_vector_t<Type> &v)
- {
- this->arrayZ = (const Type *) v;
- this->len = v.len;
- }
Supplier<Type> & operator += (unsigned int count)
{