diff options
author | David Faure <faure@kde.org> | 2009-08-20 16:26:28 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-08-20 16:28:31 (GMT) |
commit | e90a5e819478b656963de0492a1b234c8863a12b (patch) | |
tree | 6ebc27658c287a4b4aa9c6e8f1fb1420d8578426 /demos/sub-attaq/submarine.cpp | |
parent | 7a305fdc28d4062e37f424f284811b39c8d327d8 (diff) | |
download | Qt-e90a5e819478b656963de0492a1b234c8863a12b.zip Qt-e90a5e819478b656963de0492a1b234c8863a12b.tar.gz Qt-e90a5e819478b656963de0492a1b234c8863a12b.tar.bz2 |
Add value_type definition for STL compatibility.
Fixes compilation of std::back_inserter(myQByteArray) when compiling with
"-std=c++0x -pedantic". Some code (ifdef'ed with CXX0X) in stl_iterator.h uses
value_type. Can't hurt to define it, even if the code is marked experimental.
gcc 4.3.3, libstdc++6-4.3.
Merge-request: 1286
Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
Diffstat (limited to 'demos/sub-attaq/submarine.cpp')
0 files changed, 0 insertions, 0 deletions