A better fix for wxHash{Map,Set} with g++ 4.7.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 6 Aug 2012 11:06:45 +0000 (11:06 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 6 Aug 2012 11:06:45 +0000 (11:06 +0000)
commit7a7fa93b0dd56b06325740cebc91f1156c18e30c
tree4020a77c8eb44145c9c89ce36d7fcea7f3d65a44
parent03a1d863523299d49b04ea9bdb78ddd54fefab2d
A better fix for wxHash{Map,Set} with g++ 4.7.

This reverts r70556, i.e. removes the scope operators added by it to all
WX_DECLARE_HASH_{MAP,SET} macros, and implements a workaround for the problem
due to the use of empty base class optimization in g++ 4.7 standard library
implementations inside the macros themselves by prepending the hasher and
comparator classes with explicit "struct".

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/hashset.h
include/wx/html/htmlpars.h
interface/wx/hashmap.h
interface/wx/hashset.h
src/common/translation.cpp
src/generic/grid.cpp
src/xrc/xmlres.cpp
utils/wxrc/wxrc.cpp