mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 21:45:34 +08:00
refs #584 Moved hash related stuff to dictionary.h
This also means moving Mixin::Icon from CContainerBase one step down the inheritance hierarchy to resolve what would otherwise have been a circular include dependency.
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
#include "iterator.h"
|
||||
#include "containerbase.h"
|
||||
#include "icon.h"
|
||||
#include <QScopedPointer>
|
||||
#include <algorithm>
|
||||
#include <type_traits>
|
||||
@@ -55,7 +56,9 @@ namespace BlackMisc
|
||||
* Can take any suitable container class as its implementation at runtime.
|
||||
*/
|
||||
template <class T>
|
||||
class CCollection : public CContainerBase<CCollection, T, Iterators::ConstForwardIterator<T>>
|
||||
class CCollection :
|
||||
public CContainerBase<CCollection, T, Iterators::ConstForwardIterator<T>>,
|
||||
public Mixin::Icon<CCollection<T>>
|
||||
{
|
||||
public:
|
||||
//! \brief STL compatibility
|
||||
|
||||
Reference in New Issue
Block a user