Fix timer stuff (#580)

* Add and sort Network files to chatterino project file
This commit is contained in:
pajlada
2018-07-07 15:50:05 +02:00
committed by GitHub
parent 55269587f5
commit 2ea3643100
5 changed files with 62 additions and 45 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ class NetworkRequest
// Timer that tracks the timeout
// By default, there's no explicit timeout for the request
// to enable the timer, the "setTimeout" function needs to be called before execute is called
std::unique_ptr<NetworkTimer> timer;
std::shared_ptr<NetworkTimer> timer;
// The NetworkRequest destructor will assert if executed_ hasn't been set to true before dying
bool executed_ = false;