Amit Hilbuch 6b6f537e83 Adding support for enum class in RTC_CHECK and RTC_LOG.
Enum class types are by design not convertible to arithmetic types.
As a result they are currently not supported in RTC_CHECK and RTC_LOG.
The current workaround was to use something like RTC_CHECK(v1 == v2)
instead of RTC_CHECK_EQ(v1, v2).
This change adds support for any enum class type by converting it to the
underlying type.

Bug: webrtc:10418
Change-Id: I59e6608e6a97a4cc007c903f8e021a58d4c49ff8
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/128202
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Amit Hilbuch <amithi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27166}
2019-03-18 18:17:58 +00:00
..
2018-07-25 14:59:26 +00:00
2018-06-19 14:00:39 +00:00
2019-01-25 20:29:58 +00:00
2019-01-25 20:29:58 +00:00
2018-06-19 14:00:39 +00:00
2019-02-20 16:02:59 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-11-07 08:57:50 +00:00
2018-10-18 09:41:22 +00:00
2019-02-16 11:11:45 +00:00
2019-01-30 13:03:37 +00:00
2019-01-30 13:03:37 +00:00
2018-06-19 14:00:39 +00:00
2019-02-28 11:29:19 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2019-01-25 20:29:58 +00:00