diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-06-26 13:25:07 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-06-26 15:46:04 +0200 |
commit | 8c0b5be80215a23d2236d2ad2d1681aa80499cc8 (patch) | |
tree | f010e10977b0a1951eeb36a4b2132e2be6d4cdc7 /src/3rdparty/masm/masm.pri | |
parent | b24bf4fc0c728e380c953ed3dfb5613d9547b13a (diff) |
Fix failing assertion with MSVC in debug builds in various tests
We re-implemented Vector::begin() and end() by means of dereferencing the return
value from std::begin() and then taking the address of it. That causes a failing
assertion in MSVC's STL (rightly so!). We did this only to avoid modifying
the original YarrJIT.cpp code.
This patch instead simplifies our Vector.h stub again and just fixes the two
small occurrences in YarrJIT.cpp where it expects vector->begin() to return a
pointer instead of an iterator.
Change-Id: I2ad137be91ea969ccb310333dffa8d98e5825f8f
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/3rdparty/masm/masm.pri')
-rw-r--r-- | src/3rdparty/masm/masm.pri | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/3rdparty/masm/masm.pri b/src/3rdparty/masm/masm.pri index 53a950a6d6..93eff88cbd 100644 --- a/src/3rdparty/masm/masm.pri +++ b/src/3rdparty/masm/masm.pri @@ -32,6 +32,8 @@ HEADERS += $$PWD/stubs/WTFStubs.h SOURCES += $$PWD/stubs/Options.cpp +HEADERS += $$PWD/stubs/wtf/*.h + SOURCES += $$PWD/disassembler/Disassembler.cpp SOURCES += $$PWD/disassembler/UDis86Disassembler.cpp contains(DEFINES, WTF_USE_UDIS86=1) { |