logic: Fixed base and derived classes not correctly at top or bottom

Prioritize inheritance and override over all other edges.
This commit is contained in:
Eberhard Graether
2016-05-23 15:58:31 +02:00
parent d80a123a5a
commit 4e08d86602
3 changed files with 27 additions and 6 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ Cache<KeyType, ValType, Hasher>::Cache(std::function<ValType(KeyType)> calculato
{
}
template <typename KeyType, typename ValType, typename Hasher = hash<KeyType>>
template <typename KeyType, typename ValType, typename Hasher>
ValType Cache<KeyType, ValType, Hasher>::getValue(KeyType key)
{
typename std::unordered_map<KeyType, ValType>::const_iterator it = m_map.find(key);