summaryrefslogtreecommitdiffstats
path: root/sal/rtl/alloc_fini.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2018-07-28 21:27:48 +0200
committerMichael Meeks <michael.meeks@collabora.com>2018-07-31 11:32:06 +0200
commitdb354dfad541fe2edd64a618a2d7cc83a6be2b9e (patch)
treee057ff0c37c5c341c948ebf9fbec005de785a0fb /sal/rtl/alloc_fini.cxx
parentFix typos (diff)
downloadcore-db354dfad541fe2edd64a618a2d7cc83a6be2b9e.tar.gz
core-db354dfad541fe2edd64a618a2d7cc83a6be2b9e.zip
the custom SAL allocator is no longer used
ever since commit bc6a5d8e79e7d0e7d75ac107aa8e6aa275e434e9 Date: Wed Nov 15 16:52:44 2017 +0530 Disable custom allocator which makes FORCE_SYSALLOC redundant which makes SYS_ALLOC redundant Change-Id: I42e1d651473e7601e2280d9fb0662c89808c88f6 Reviewed-on: https://gerrit.libreoffice.org/58263 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sal/rtl/alloc_fini.cxx')
-rw-r--r--sal/rtl/alloc_fini.cxx22
1 files changed, 0 insertions, 22 deletions
diff --git a/sal/rtl/alloc_fini.cxx b/sal/rtl/alloc_fini.cxx
index 1d70d5c0c788..3745e900c86d 100644
--- a/sal/rtl/alloc_fini.cxx
+++ b/sal/rtl/alloc_fini.cxx
@@ -23,28 +23,6 @@
namespace
{
- struct rtlMemorySingleton
- {
- rtlMemorySingleton()
- {
- rtl_memory_init();
- }
- ~rtlMemorySingleton()
- {
- rtl_memory_fini();
- }
- };
- class theMemorySingleton
- : public rtl::Static<rtlMemorySingleton, theMemorySingleton>{};
-}
-
-void ensureMemorySingleton()
-{
- theMemorySingleton::get();
-}
-
-namespace
-{
struct rtlCacheSingleton
{
rtlCacheSingleton()