[Libreoffice-commits] core.git: cppuhelper/source

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Sun Jul 18 09:35:14 UTC 2021


 cppuhelper/source/typemanager.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e0ba91b7e8a2f0d949677db1708bb0e6d8534389
Author:     Noel Grandin <noelgrandin at gmail.com>
AuthorDate: Sat Jul 17 18:51:45 2021 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sun Jul 18 11:34:39 2021 +0200

    better to use a std::vector here
    
    Change-Id: Ibd875907bc0618df3b27ed77625ff62c352019ba
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119109
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/cppuhelper/source/typemanager.cxx b/cppuhelper/source/typemanager.cxx
index 857018e204ec..b97d36d16aed 100644
--- a/cppuhelper/source/typemanager.cxx
+++ b/cppuhelper/source/typemanager.cxx
@@ -1670,7 +1670,7 @@ private:
     bool deep_;
 
     std::mutex mutex_;
-    std::stack< Position > positions_;
+    std::stack< Position, std::vector<Position> > positions_;
     OUString current_;
 };
 


More information about the Libreoffice-commits mailing list