Fix prev. commit
Change-Id: I1dd71d6e35ac2dc5f27a11a3dd269247b1b35d39
This commit is contained in:
@@ -1105,11 +1105,13 @@ void checkIds(
|
|||||||
->getDirectProperties().size())
|
->getDirectProperties().size())
|
||||||
: 0);
|
: 0);
|
||||||
assert(n <= ent2B->getDirectProperties().size());
|
assert(n <= ent2B->getDirectProperties().size());
|
||||||
for (auto & i: ent2B->getDirectProperties()) {
|
for (auto i(ent2B->getDirectProperties().begin() +n);
|
||||||
if (!valid(i.name)) {
|
i != ent2B->getDirectProperties().end(); ++i)
|
||||||
|
{
|
||||||
|
if (!valid(i->name)) {
|
||||||
std::cerr
|
std::cerr
|
||||||
<< "accumulation-based service " << name
|
<< "accumulation-based service " << name
|
||||||
<< " direct property " << i.name
|
<< " direct property " << i->name
|
||||||
<< " uses an invalid identifier" << std::endl;
|
<< " uses an invalid identifier" << std::endl;
|
||||||
std::exit(EXIT_FAILURE);
|
std::exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user