diff options
Diffstat (limited to 'stoc/source/tdmanager/lrucache.hxx')
-rw-r--r-- | stoc/source/tdmanager/lrucache.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/stoc/source/tdmanager/lrucache.hxx b/stoc/source/tdmanager/lrucache.hxx index fadc0a59b7bf..4f14fc7a2a91 100644 --- a/stoc/source/tdmanager/lrucache.hxx +++ b/stoc/source/tdmanager/lrucache.hxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -33,7 +34,7 @@ #include <osl/mutex.hxx> #include "rtl/ustring.hxx" -#include <hash_map> +#include <boost/unordered_map.hpp> /** Implementation of a least recently used (lru) cache. @@ -50,7 +51,7 @@ class LRU_Cache CacheEntry * pPred; CacheEntry * pSucc; }; - typedef ::std::hash_map< t_Key, CacheEntry *, t_KeyHash, t_KeyEqual > t_Key2Element; + typedef ::boost::unordered_map< t_Key, CacheEntry *, t_KeyHash, t_KeyEqual > t_Key2Element; mutable ::osl::Mutex _aCacheMutex; sal_Int32 _nCachedElements; @@ -245,3 +246,5 @@ typedef LRU_Cache< ::rtl::OUString, ::com::sun::star::uno::Any, #endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |