| summaryrefslogtreecommitdiff | 
diff options
Diffstat (limited to 'src/shared/struct/shr_map_summary.erl')
| -rw-r--r-- | src/shared/struct/shr_map_summary.erl | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/src/shared/struct/shr_map_summary.erl b/src/shared/struct/shr_map_summary.erl index a7a1283..554b988 100644 --- a/src/shared/struct/shr_map_summary.erl +++ b/src/shared/struct/shr_map_summary.erl @@ -92,10 +92,11 @@ get_id_field () -> #map_summary.id.  -spec get_name_field () -> non_neg_integer().  get_name_field () -> #map_summary.name. --spec encode (type()) -> {list(any())}. -encode (MapSummary) -> +-spec encode ({non_neg_integer(), type()}) -> {list(any())}. +encode ({IX, MapSummary}) ->     {        [ +         {<<"ix">>, IX},           {<<"id">>, MapSummary#map_summary.id},           {<<"nme">>, MapSummary#map_summary.name}        ] | 


