Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpc: Fix formatting on some fmt lib versions
There's a bug in fmt-8 that prefers implicit type cast to bool over overloaded operator<< when formatting it with the latter. As a result the formatted string is always "true"/"false" instead of some sane value. Marking the operator bool() explicit solves the issue. Also add a test to catch any violations earlier. fixes: #1151 Signed-off-by: Pavel Emelyanov <[email protected]> Message-Id: <[email protected]>
- Loading branch information