Use ptrs, optionals and variants from rtc namespace

This commit is contained in:
Paul-Louis Ageneau
2021-03-03 11:52:35 +01:00
parent ff34858e41
commit 767694a8b8
69 changed files with 268 additions and 283 deletions

View File

@ -22,7 +22,6 @@
#include "common.hpp"
#include <chrono>
#include <variant>
namespace rtc {
@ -31,7 +30,7 @@ struct Reliability {
Type type = Type::Reliable;
bool unordered = false;
std::variant<int, std::chrono::milliseconds> rexmit = 0;
variant<int, std::chrono::milliseconds> rexmit = 0;
};
} // namespace rtc