bug fixed

This commit is contained in:
ziyue 2021-03-30 13:11:59 +08:00
parent c6a5471a23
commit e296ebae6e

View File

@ -97,7 +97,7 @@ template <char KEY>
class SdpString : public SdpItem{
public:
SdpString() = default;
SdpString(string val) {value == std::move(val);}
SdpString(string val) {value = std::move(val);}
// *=*
const char* getKey() const override { static string key(1, KEY); return key.data();}
};