summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-02-21 15:38:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-02-22 09:16:10 +0000
commita60fcb15046a60fa35fc4ea07d1411bf3563fe2e (patch)
treed8903f0c95ccaf905abff2de31212ee413149669 /include
parent2c37a0ca31095165d05740a2ff4969f625b4a75b (diff)
osl::Mutex->std::mutex in OSQLParseNodesContainer
Change-Id: Ie47589a454799494bc150eec1e135c8948eb7fbf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147420 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/connectivity/sqlparse.hxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/connectivity/sqlparse.hxx b/include/connectivity/sqlparse.hxx
index 0a8523e436a8..d3eedd484137 100644
--- a/include/connectivity/sqlparse.hxx
+++ b/include/connectivity/sqlparse.hxx
@@ -19,11 +19,7 @@
#ifndef INCLUDED_CONNECTIVITY_SQLPARSE_HXX
#define INCLUDED_CONNECTIVITY_SQLPARSE_HXX
-#include <memory>
-#include <string_view>
-
#include <com/sun/star/uno/Reference.h>
-#include <osl/mutex.hxx>
#include <connectivity/sqlnode.hxx>
#include <connectivity/IParseContext.hxx>
#include <connectivity/dbtoolsdllapi.hxx>
@@ -31,6 +27,9 @@
#include <comphelper/singletonref.hxx>
#include <map>
+#include <memory>
+#include <mutex>
+#include <string_view>
namespace com::sun::star::i18n { class XCharacterClassification; }
namespace com::sun::star::i18n { class XLocaleData4; }
@@ -82,7 +81,7 @@ namespace connectivity
class OSQLParseNodesContainer
{
- ::osl::Mutex m_aMutex;
+ std::mutex m_aMutex;
::std::vector< OSQLParseNode* > m_aNodes;
public:
OSQLParseNodesContainer();