diff --git a/src/description.cpp b/src/description.cpp index 64a2c7924..c0cbc40db 100644 --- a/src/description.cpp +++ b/src/description.cpp @@ -337,8 +337,8 @@ string Description::generateSdp(string_view eol) const { sdp << "a=ice-options:" << utils::implode(mIceOptions, ',') << eol; if (mFingerprint) sdp << "a=fingerprint:" - << CertificateFingerprint::AlgorithmIdentifier(mFingerprint.value().algorithm) << " " - << mFingerprint.value().value << eol; + << CertificateFingerprint::AlgorithmIdentifier(mFingerprint->algorithm) << " " + << mFingerprint->value << eol; for (const auto &attr : mAttributes) sdp << "a=" << attr << eol;