mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 01:05:35 +08:00
refs #624 Replace typedef with using.
This commit is contained in:
@@ -34,7 +34,7 @@ namespace BlackMisc
|
||||
{
|
||||
public:
|
||||
//! Type of values stored in the set.
|
||||
typedef T value_type;
|
||||
using value_type = T;
|
||||
|
||||
//! Insert a new value into the set.
|
||||
typename QMap<T, T>::iterator insert(const T &value) { return QMap<T, T>::insert(value, value); }
|
||||
@@ -447,7 +447,7 @@ namespace BlackMisc
|
||||
template <class I> static I insertHelper(std::pair<I, bool> p) { return p.first; }
|
||||
};
|
||||
|
||||
typedef QScopedPointer<PimplBase> PimplPtr;
|
||||
using PimplPtr = QScopedPointer<PimplBase>;
|
||||
PimplPtr m_pimpl;
|
||||
|
||||
CCollection(PimplBase *pimpl) : m_pimpl(pimpl) {} // private ctor used by fromImpl()
|
||||
|
||||
Reference in New Issue
Block a user