Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2022-02-27 13:59:57 +0300
committerSergei Trofimovich <slyich@gmail.com>2022-02-27 20:24:07 +0300
commit36398fb3b293fc889bbc38df29665359f5c2a0ca (patch)
tree38dda38ffd634cc89f0a067d5df11967d7841811 /plugins
parentef79268165a66ca17fa18141c527a1b66f892184 (diff)
BUILD(positional-audio): Fix missing <memory> include
Without the change the build fails on upcoming gcc-12 as: /build/mumble/plugins/gtav/gtav.cpp:13:13: error: 'unique_ptr' in namespace 'std' does not name a template type 13 | static std::unique_ptr< Game > game; | ^~~~~~~~~~ /build/mumble/plugins/gtav/gtav.cpp:12:1: note: 'std::unique_ptr' is defined in header '<memory>'; did you forget to '#include <memory>'? 11 | #include <cstring> +++ |+#include <memory> 12 |
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gtav/gtav.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/gtav/gtav.cpp b/plugins/gtav/gtav.cpp
index ebaf12929..6c8af41c7 100644
--- a/plugins/gtav/gtav.cpp
+++ b/plugins/gtav/gtav.cpp
@@ -9,6 +9,7 @@
#include "mumble_positional_audio_utils.h"
#include <cstring>
+#include <memory>
static std::unique_ptr< Game > game;