operator < method

bool operator <(
  1. ErrorSeverity other
)

Implementation

bool operator <(ErrorSeverity other) => weight < other.weight;