Add option to enable -Wextra for gcc/clang.

This commit is contained in:
Mike Ellery
2019-10-03 10:17:15 -07:00
committed by Manoj doshi
parent ca47583a3b
commit 82484e26f5
15 changed files with 31 additions and 23 deletions

View File

@@ -819,7 +819,7 @@ static boost::optional <STObject> parseObject (
// Some inner object types have templates. Attempt to apply that.
data.applyTemplateFromSField (inName); // May throw
return std::move (data);
return data;
}
catch (STObject::FieldErr const&)
{