-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Internal Code
-
Server Programmability
-
None
-
None
-
None
-
None
-
None
-
None
-
None
It is always an error to construct a StatusWith from an OK status. In the case of Status::OK() we can detect that at compile time. This can easily happen when converting a function from returning Status to StatusWith.