Commit 69bd74f9 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 3dbd3582
......@@ -1321,7 +1321,6 @@ func (d *decoderN) genSlice1(assignto string, typ types.Type) {
// bin8+len8|bin16+len16|bin32+len32
// [len]byte
func (s *sizerM) genSlice1(path string, typ types.Type) {
// XXX -> mbinsize(len(path)) ?
s.size.AddExpr("msgpack.BinHeadSize(len(%s))", path)
s.size.AddExpr("len(%s)", path)
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment