summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorJosiahWI <41302989+JosiahWI@users.noreply.github.com>2021-12-28 07:05:49 -0600
committerGitHub <noreply@github.com>2021-12-28 14:05:49 +0100
commit7f6306ca964ac5b9245c433e3b688c5d4ee08c35 (patch)
treecc51c06da9b439ecf21d57e797211975f7b35885 /src/client
parent0c4929f0252811d9715b96379973929053d32ef0 (diff)
downloadminetest-7f6306ca964ac5b9245c433e3b688c5d4ee08c35.tar.gz
minetest-7f6306ca964ac5b9245c433e3b688c5d4ee08c35.tar.bz2
minetest-7f6306ca964ac5b9245c433e3b688c5d4ee08c35.zip
Restore GCC 5 compatibility (#11778)
Diffstat (limited to 'src/client')
-rw-r--r--src/client/client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/client.h b/src/client/client.h
index b92b456f4..bae40f389 100644
--- a/src/client/client.h
+++ b/src/client/client.h
@@ -548,7 +548,7 @@ private:
// Set of media filenames pushed by server at runtime
std::unordered_set<std::string> m_media_pushed_files;
// Pending downloads of dynamic media (key: token)
- std::vector<std::pair<u32, std::unique_ptr<SingleMediaDownloader>>> m_pending_media_downloads;
+ std::vector<std::pair<u32, std::shared_ptr<SingleMediaDownloader>>> m_pending_media_downloads;
// time_of_day speed approximation for old protocol
bool m_time_of_day_set = false;