Skip to content

Commit 4cbb508

Browse files
committed
squash, try and fix build error
1 parent 38aaaa3 commit 4cbb508

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

auto_tests/toxav_mt_test.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ std::vector<Tox_Ptr> prepare_network(uint32_t count) {
145145

146146
class AV_State {
147147
public:
148-
explicit AV_State(Tox_Ptr tox, std::string name, bool combined = false) noexcept
148+
AV_State() = delete;
149+
explicit AV_State(Tox_Ptr tox, std::string name, bool combined = false)
149150
: tox_(std::move(tox)),
150151
combined_av_(combined),
151152
stop_threads_{false},
@@ -362,7 +363,7 @@ class AV_State {
362363
std::atomic_bool incomming_;
363364
std::atomic_uint32_t call_state_;
364365

365-
std::atomic<Time_Point> call_start_{};
366+
std::atomic<Time_Point> call_start_{Time_Point()};
366367
std::atomic_bool in_call_;
367368

368369
std::atomic_bool video_received_;

0 commit comments

Comments
 (0)