mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove obsolete Error constructor
This commit is contained in:
parent
173a511809
commit
60189b4f61
@ -122,16 +122,6 @@ public:
|
|||||||
Warning
|
Warning
|
||||||
};
|
};
|
||||||
|
|
||||||
// TODO: remove this
|
|
||||||
Error(
|
|
||||||
ErrorId _errorId,
|
|
||||||
Type _type,
|
|
||||||
SourceLocation const& _location = SourceLocation(),
|
|
||||||
std::string const& _description = std::string()
|
|
||||||
):
|
|
||||||
Error(_errorId, _type, _description, _location)
|
|
||||||
{}
|
|
||||||
|
|
||||||
Error(
|
Error(
|
||||||
ErrorId _errorId,
|
ErrorId _errorId,
|
||||||
Type _type,
|
Type _type,
|
||||||
|
@ -105,8 +105,8 @@ ErrorList AnalysisFramework::filterErrors(ErrorList const& _errorList, bool _inc
|
|||||||
newError = make_shared<Error>(
|
newError = make_shared<Error>(
|
||||||
currentError->errorId(),
|
currentError->errorId(),
|
||||||
currentError->type(),
|
currentError->type(),
|
||||||
location ? *location : SourceLocation(),
|
messagePrefix + " ....",
|
||||||
messagePrefix + " ...."
|
location ? *location : SourceLocation()
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user