summaryrefslogtreecommitdiff
authorsandman <sandman>2002-12-08 22:34:56 (UTC)
committer sandman <sandman>2002-12-08 22:34:56 (UTC)
commitbada5d6377a428a96527d465903df7fbabc9d337 (patch) (unidiff)
tree4ab4466889a6b2395260614fb5f5f3725d1c6b9d
parent3023dd47eefe179c245a186dd0870c2b4a76a4ae (diff)
downloadopie-bada5d6377a428a96527d465903df7fbabc9d337.zip
opie-bada5d6377a428a96527d465903df7fbabc9d337.tar.gz
opie-bada5d6377a428a96527d465903df7fbabc9d337.tar.bz2
operator new is still completly useless in newer gcc 2.95 toolchains
(~7 times slower than the malloc wrappers)
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--library/qpeapplication.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp
index 4c93111..b5dff3a 100644
--- a/library/qpeapplication.cpp
+++ b/library/qpeapplication.cpp
@@ -1669,27 +1669,24 @@ void QPEApplication::hideOrQuit()
1669 1669
1670 { 1670 {
1671 QCopEnvelope e("QPE/System", "fastAppHiding(QString)" ); 1671 QCopEnvelope e("QPE/System", "fastAppHiding(QString)" );
1672 e << d->appName; 1672 e << d->appName;
1673 d->qpe_main_widget->hide(); 1673 d->qpe_main_widget->hide();
1674 } 1674 }
1675#endif 1675#endif
1676 else 1676 else
1677 quit(); 1677 quit();
1678} 1678}
1679 1679
1680 1680
1681// These 6 stubs below need 1.5K in the binary and besides that -
1682// we are not using ancient toolchains anymore - sandman
1683
1684#if defined(QT_QWS_IPAQ) || defined(QT_QWS_SHARP) 1681#if defined(QT_QWS_IPAQ) || defined(QT_QWS_SHARP)
1685 1682
1686// The libraries with the skiff package (and possibly others) have 1683// The libraries with the skiff package (and possibly others) have
1687// completely useless implementations of builtin new and delete that 1684// completely useless implementations of builtin new and delete that
1688// use about 50% of your CPU. Here we revert to the simple libc 1685// use about 50% of your CPU. Here we revert to the simple libc
1689// functions. 1686// functions.
1690 1687
1691void* operator new[]( size_t size ) 1688void* operator new[]( size_t size )
1692{ 1689{
1693 return malloc( size ); 1690 return malloc( size );
1694} 1691}
1695 1692