]> git.saurik.com Git - wxWidgets.git/commit - src/common/translation.cpp
Fix wxHash{Set,Map} compilation with g++ 4.7 in C++11 mode.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 10 Feb 2012 10:22:45 +0000 (10:22 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 10 Feb 2012 10:22:45 +0000 (10:22 +0000)
commit8d9eee83203dfc7177cd8639c14a5c809085698d
treec76037cfb7937d62d7a1f75c74face19bcc27d21
parent37fff49cf1fa0306ba13d9ccc235c0c1c0ae3b62
Fix wxHash{Set,Map} compilation with g++ 4.7 in C++11 mode.

Fully qualify the hasher and comparator classes used with
WX_DECLARE_HASH_{SET,MAP} macros as they're used as base classes by the
standard library implementation in g++ 4.7 and using them without the scope
operator results in compilation errors because they're interpreted as being
(inaccessible) base classes and not the global ones.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
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