commit | d722b3aa03c55f9a9737fb47a68e66ad803f53cc | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Tue Feb 28 12:10:44 2017 -0600 |
committer | Adriana Kobylak <anoo@us.ibm.com> | Wed Mar 15 11:37:06 2017 -0500 |
tree | a2b88ab4e540baf101a6b0a22dba12f31a167896 | |
parent | a3db07742c870b5e974c8f8c8ae724ca2298b015 [diff] |
Make generated code to be const and extern Set generated maps to be const so that they don't get accidentally overwritten. Use .find() to access these generated data sets as the [] operator is not const. Declare the generated maps as extern so that there's no need to include the generated .cpp file. Change-Id: I4efdcace099bec738e1fa9b67decbedd515d3dfa Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>