Remove unused Status::Error().

This commit is contained in:
levlam 2023-05-17 13:50:36 +03:00
parent d93c06fceb
commit f900fc2480

View File

@ -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, "");