Minor reformatting.
This commit is contained in:
parent
9a12c4566c
commit
7e3d000ec8
@ -252,17 +252,16 @@ void EclipseGridParser::readImpl(istream& is)
|
|||||||
map<string, std::tr1::shared_ptr<SpecialBase> >::iterator pos =
|
map<string, std::tr1::shared_ptr<SpecialBase> >::iterator pos =
|
||||||
specialmap.find(keyword);
|
specialmap.find(keyword);
|
||||||
if (pos == specialmap.end()) {
|
if (pos == specialmap.end()) {
|
||||||
std::tr1::shared_ptr<SpecialBase> sb_ptr =
|
std::tr1::shared_ptr<SpecialBase> sb_ptr =
|
||||||
createSpecialField(is, keyword);
|
createSpecialField(is, keyword);
|
||||||
if (sb_ptr) {
|
if (sb_ptr) {
|
||||||
specialmap[keyword] = sb_ptr;
|
specialmap[keyword] = sb_ptr;
|
||||||
} else {
|
|
||||||
THROW("Could not create field " << keyword);
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
std::tr1::shared_ptr<SpecialBase> sb_ptr = pos->second;
|
THROW("Could not create field " << keyword);
|
||||||
sb_ptr->read(is);
|
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
pos->second->read(is);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case IgnoreWithData: {
|
case IgnoreWithData: {
|
||||||
|
Loading…
Reference in New Issue
Block a user