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