-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace std::visit/overloaded construct with if/else
Note that std::visit/overloaded construct is used throughout opencbdc. Why change only this instance? The length of the std::visit block and the fact that the variant is passed as the last argument at the end of that block may place significant cognitive load on the reader. Signed-off-by: Alexander Jung <[email protected]>
- Loading branch information
1 parent
20d3abd
commit 2948d17
Showing
1 changed file
with
68 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters