Remove unused Status::Error().
This commit is contained in:
parent
d93c06fceb
commit
f900fc2480
@ -193,10 +193,6 @@ class Status {
|
||||
}
|
||||
#endif
|
||||
|
||||
static Status Error() TD_WARN_UNUSED_RESULT {
|
||||
return Error<0>();
|
||||
}
|
||||
|
||||
template <int Code>
|
||||
static Status Error() {
|
||||
static Status status(true, ErrorType::General, Code, "");
|
||||
|
Loading…
Reference in New Issue
Block a user