cbor: comment that |SimpleValue| can be casted via |int|.
The code casts an |int| to a |SimpleValue|. Since |SimpleValue| is an |enum class|, this is safe. But it might not be for a traditional |enum|, so add a comment in case it flags for anyone else. Change-Id: Ifc50115d0ae9b047167f48b3d031b89d4494eda9 Reviewed-on: https://chromium-review.googlesource.com/982609Reviewed-by:Balazs Engedy <engedy@chromium.org> Cr-Commit-Position: refs/heads/master@{#548474}
Showing
Please register or sign in to comment