summaryrefslogtreecommitdiff
path: root/bridges/inc/vtablefactory.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/inc/vtablefactory.hxx')
-rw-r--r--bridges/inc/vtablefactory.hxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/bridges/inc/vtablefactory.hxx b/bridges/inc/vtablefactory.hxx
index f64cdd86e1a5..9afcb837099d 100644
--- a/bridges/inc/vtablefactory.hxx
+++ b/bridges/inc/vtablefactory.hxx
@@ -17,16 +17,15 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BRIDGES_INC_VTABLEFACTORY_HXX
-#define INCLUDED_BRIDGES_INC_VTABLEFACTORY_HXX
+#pragma once
-#include <osl/mutex.hxx>
#include <rtl/alloc.h>
#include <rtl/ustring.hxx>
#include <sal/types.h>
#include <typelib/typedescription.hxx>
#include <memory>
+#include <mutex>
#include <unordered_map>
/*See: http://people.redhat.com/drepper/selinux-mem.html*/
@@ -211,7 +210,7 @@ private:
typedef std::unordered_map< OUString, Vtables > Map;
- osl::Mutex m_mutex;
+ std::mutex m_mutex;
Map m_map;
rtl_arena_type * m_arena;
@@ -219,6 +218,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */