summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJanne Koskinen <janne.p.koskinen@digia.com>2010-04-19 15:45:41 (GMT)
committerJanne Koskinen <janne.p.koskinen@digia.com>2010-04-19 17:36:02 (GMT)
commitcc26a3ec5c6bfde206c7354f87bebd36b70e1205 (patch)
tree2d326e4ad079b32b405777ba58423c0b4009d4a4 /src
parent0d1739197015a651b88d710c9c961eb0f20278f9 (diff)
downloadQt-cc26a3ec5c6bfde206c7354f87bebd36b70e1205.zip
Qt-cc26a3ec5c6bfde206c7354f87bebd36b70e1205.tar.gz
Qt-cc26a3ec5c6bfde206c7354f87bebd36b70e1205.tar.bz2
Remove overloaded placement new operators
WINSCW and Sun OS build fix. placement new is already defined in NonCopyable, no need for overloading. Reviewed-by: Simon Hausmann
Diffstat (limited to 'src')
-rw-r--r--src/3rdparty/webkit/JavaScriptCore/runtime/UStringImpl.h1
-rw-r--r--src/3rdparty/webkit/WebCore/platform/text/StringImpl.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/3rdparty/webkit/JavaScriptCore/runtime/UStringImpl.h b/src/3rdparty/webkit/JavaScriptCore/runtime/UStringImpl.h
index 4dccb25..065443a 100644
--- a/src/3rdparty/webkit/JavaScriptCore/runtime/UStringImpl.h
+++ b/src/3rdparty/webkit/JavaScriptCore/runtime/UStringImpl.h
@@ -58,7 +58,6 @@ protected:
};
using Noncopyable::operator new;
- void* operator new(size_t, void* inPlace) { return inPlace; }
// For SmallStringStorage, which allocates an array and uses an in-place new.
UStringOrRopeImpl() { }
diff --git a/src/3rdparty/webkit/WebCore/platform/text/StringImpl.h b/src/3rdparty/webkit/WebCore/platform/text/StringImpl.h
index 81cd149..9a62cba 100644
--- a/src/3rdparty/webkit/WebCore/platform/text/StringImpl.h
+++ b/src/3rdparty/webkit/WebCore/platform/text/StringImpl.h
@@ -249,7 +249,6 @@ public:
private:
using Noncopyable::operator new;
- void* operator new(size_t, void* inPlace) { ASSERT(inPlace); return inPlace; }
static PassRefPtr<StringImpl> createStrippingNullCharactersSlowCase(const UChar*, unsigned length);