diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-03-04 12:27:26 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-03-04 12:27:26 +0100 |
commit | 56388a7ea91ef5b0e526a14bc7e1b00edca83202 (patch) | |
tree | cf25e0e34d513a075954f861572f32ec0d4a6461 /sal | |
parent | 72b724ad8eb5ee6a8a4b2e35cf29a8d14007efd5 (diff) |
Probably better to not disable this cache in all debug modes
(f59136a2ed1e3eb01cc5b62c5a7da07c34cbdfae "tdf#91794 remove OSL_DEBUG_LEVEL > 1
conditionals" had changed it from OSL_DEBUG_LEVEL > 1 to > 0)
Change-Id: I40714993fb55ec27b80d225cec28c64f2959ab73
Diffstat (limited to 'sal')
-rw-r--r-- | sal/rtl/bootstrap.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sal/rtl/bootstrap.cxx b/sal/rtl/bootstrap.cxx index b56bfc16cde3..7f56dfcea4f0 100644 --- a/sal/rtl/bootstrap.cxx +++ b/sal/rtl/bootstrap.cxx @@ -677,12 +677,7 @@ void SAL_CALL rtl_bootstrap_args_close ( --that->_nRefCount; if (that->_nRefCount == 0) { - ::std::size_t nLeaking = 8; // only hold up to 8 files statically - -#if OSL_DEBUG_LEVEL > 0 // debug - nLeaking = 0; -#endif /* OSL_DEBUG_LEVEL */ - + std::size_t const nLeaking = 8; // only hold up to 8 files statically if (p_bootstrap_map->size() > nLeaking) { ::std::size_t erased = p_bootstrap_map->erase( that->_iniName ); |