From d19c6ab1050fb3f3ef60a3622bca85ebb07952e4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 11 Jun 2018 16:05:32 +0200 Subject: loplugin:useuniqueptr in ScColContainer Change-Id: Icb4fffb27535a767b307c1d01e5bc96372c98352 Reviewed-on: https://gerrit.libreoffice.org/56108 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/inc/table.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc/inc/table.hxx') diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx index a2aa4c911b57..e7886b15c6ee 100644 --- a/sc/inc/table.hxx +++ b/sc/inc/table.hxx @@ -117,7 +117,7 @@ class ScColumnsRange final public: class Iterator final { - std::vector::const_iterator maColIter; + std::vector>::const_iterator maColIter; public: typedef std::input_iterator_tag iterator_category; typedef SCCOL value_type; @@ -125,7 +125,7 @@ class ScColumnsRange final typedef const SCCOL* pointer; typedef SCCOL reference; - explicit Iterator(const std::vector::const_iterator& colIter) : maColIter(colIter) {} + explicit Iterator(const std::vector>::const_iterator& colIter) : maColIter(colIter) {} Iterator& operator++() { ++maColIter; return *this;} Iterator& operator--() { --maColIter; return *this;} -- cgit