charmxi: Restrict generation of default template arguments to class declarations33/733/1
commit3bca5d5af8b5d7b561e9d0e4308d3863867db000
authorRalf Gunter <ralfgunter@gmail.com>
Wed, 27 May 2015 20:15:32 +0000 (27 15:15 -0500)
committerRalf Gunter <ralfgunter@gmail.com>
Wed, 27 May 2015 21:54:41 +0000 (27 16:54 -0500)
tree4be147857a6371138aa01255c60d18415d2dd08f
parentcf30c10c99554adbfe2272546ccbbbeb2a5ccade
charmxi: Restrict generation of default template arguments to class declarations

Prior to this commit, charmxi was adding the default template argument
declaration to every single use of that template, which led to the
compiler complaining that there were multiple declarations.

Change-Id: I284ce992f7bcd66377cf3c61251857d4a2833334
src/xlat-i/xi-Chare.C
src/xlat-i/xi-Entry.C
src/xlat-i/xi-Member.C
src/xlat-i/xi-Template.C
src/xlat-i/xi-Template.h
src/xlat-i/xi-util.C
src/xlat-i/xi-util.h