diff --git a/include/rtc/description.hpp b/include/rtc/description.hpp index b1afd3e3e..0727d87f7 100644 --- a/include/rtc/description.hpp +++ b/include/rtc/description.hpp @@ -29,7 +29,7 @@ const string DEFAULT_H264_VIDEO_PROFILE = "profile-level-id=42e01f;packetization-mode=1;level-asymmetry-allowed=1"; struct CertificateFingerprint { - enum Algorithm { Sha1, Sha224, Sha256, Sha384, Sha512 }; + enum class Algorithm { Sha1, Sha224, Sha256, Sha384, Sha512 }; static string AlgorithmIdentifier(Algorithm algorithm); static size_t AlgorithmSize(Algorithm algorithm);