Changeset View
Changeset View
Standalone View
Standalone View
kdevplatform/language/duchain/types/containertypes.cpp
Show First 20 Lines • Show All 138 Lines • ▼ Show 20 Line(s) | 138 | { | |||
---|---|---|---|---|---|
139 | return StructureType::hash() + (contentType().abstractType() ? contentType().abstractType()->hash() : 1); | 139 | return StructureType::hash() + (contentType().abstractType() ? contentType().abstractType()->hash() : 1); | ||
140 | } | 140 | } | ||
141 | 141 | | |||
142 | uint MapType::hash() const | 142 | uint MapType::hash() const | ||
143 | { | 143 | { | ||
144 | return ListType::hash() + (keyType().abstractType() ? keyType().abstractType()->hash() : 1); | 144 | return ListType::hash() + (keyType().abstractType() ? keyType().abstractType()->hash() : 1); | ||
145 | } | 145 | } | ||
146 | } // namespace KDevelop | 146 | } // namespace KDevelop | ||
147 | | ||||
148 | // kate: space-indent on; indent-width 4 | |