9 Feb
2012
9 Feb
'12
17:37
On Thu, Feb 9, 2012 at 1:27 PM, Ilya Chernykh
In an old code I have encountered the following error:
map.cpp:195:1: error: 'Map::Map' names the constructor, not the type
The code is as follows:
Map::Map & Map::operator = (Map const & map) { delete[] m_pieces; init(map);
return *this; }
I tried to remove the "::Map" but this did not help. Any ideas what should I do?
Did you try typename Map::Map ? (in any case, we need context, or we're guessing) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org