Hide QVariant helper classes in a namespace.
authorJędrzej Nowacki <jedrzej.nowacki@nokia.com>
Tue, 15 Nov 2011 12:49:52 +0000 (13:49 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 15 Nov 2011 17:33:58 +0000 (18:33 +0100)
commit5bc35276fb38385af4f1cd6b1a9ea7195a1d0d86
tree66d7a847bfad6dbf6b6189a78d9cb75a789ff380
parent202127f860208c21145e05685bc54219e1655dbd
Hide QVariant helper classes in a namespace.

Moving these classes to an unnamed namespace reduced chances of
a name conflict and size of executable. GCC 4.6 in release mode produces
a 5kB smaller binary.

Change-Id: Ie1819a88180f9db1cd32cc59ea6fe268ecbd5813
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
src/corelib/kernel/qvariant.cpp
src/gui/kernel/qguivariant.cpp