forked from qt-creator/qt-creator
Utils: Modernize further
Many issues, mostly in headers, were not addressed in
e38410b76c
modernize-use-auto
modernize-use-nullptr
modernize-use-override
modernize-use-using
modernize-use-default-member-init
modernize-use-equals-default
Change-Id: I320a51726db881e582b898948d53735ebb06887a
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -229,7 +229,7 @@ protected:
|
||||
Container *container;
|
||||
|
||||
public:
|
||||
typedef Container container_type;
|
||||
using container_type = Container;
|
||||
explicit SetInsertIterator (Container &x)
|
||||
: container(&x) {}
|
||||
SetInsertIterator<Container> &operator=(const typename Container::value_type &value)
|
||||
@@ -253,7 +253,7 @@ template <class Container>
|
||||
Container *container;
|
||||
|
||||
public:
|
||||
typedef Container container_type;
|
||||
using container_type = Container;
|
||||
explicit MapInsertIterator (Container &x)
|
||||
: container(&x) {}
|
||||
MapInsertIterator<Container> &operator=(const std::pair<const typename Container::key_type, typename Container::mapped_type> &value)
|
||||
|
||||
Reference in New Issue
Block a user