Added fix for gcc.

This commit is contained in:
Patrick Lühne 2016-06-07 16:14:17 +02:00
parent e6ddad5960
commit 188165bc4d

View File

@ -358,7 +358,7 @@ void Domain::checkConsistency()
const auto acceptType = const auto acceptType =
[&](const auto *type) [&](const auto *type)
{ {
return ((type == nullptr) != hasRequirement(Requirement::Type::Typing)); return ((type == nullptr) != this->hasRequirement(Requirement::Type::Typing));
}; };
std::for_each(m_constants.cbegin(), m_constants.cend(), std::for_each(m_constants.cbegin(), m_constants.cend(),