Commit cbc9eb1
committed
Fix destructor name ...
There appears to be a pb in 9df8c9d.
For a template class, A::B::C<T1,T2>
the destructor name was C<T1,T2>
leading to code like
A::B::C<T1,T2>::~C<T1,T2>()
which does not compile on gcc (4.6, 4.7), also it seems to be correct code ...
clang and intel C++ compile it, but not gcc.
I changed the name to generate the code :
A::B::C<T1,T2>::~C()
which compiles on gcc, clang, intel
by further cutting the <...> in the destructor name.1 parent e2e70dc commit cbc9eb1
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1139 | 1139 | | |
1140 | 1140 | | |
1141 | 1141 | | |
| 1142 | + | |
1142 | 1143 | | |
1143 | 1144 | | |
1144 | 1145 | | |
| |||
0 commit comments