| 1 | // Copyright (c) 2012-2020 Ugorji Nwoke. All rights reserved. |
| 2 | // Use of this source code is governed by a MIT license found in the LICENSE file. |
| 3 | |
| 4 | //go:build go1.10 && (safe || codec.safe || appengine) |
| 5 | // +build go1.10 |
| 6 | // +build safe codec.safe appengine |
| 7 | |
| 8 | package codec |
| 9 | |
| 10 | import "reflect" |
| 11 | |
| 12 | func makeMapReflect(t reflect.Type, size int) reflect.Value { |
| 13 | return reflect.MakeMapWithSize(t, size) |
| 14 | } |