[Bf-blender-cvs] [7c1ab77fa67] blender-v3.4-release: audaspace: Fix build error with MSVC 17.4+

Ray Molenkamp noreply at git.blender.org
Wed Nov 9 22:39:27 CET 2022


Commit: 7c1ab77fa67252b6a0c61fb53f114c7c1916e364
Author: Ray Molenkamp
Date:   Wed Nov 9 14:39:15 2022 -0700
Branches: blender-v3.4-release
https://developer.blender.org/rB7c1ab77fa67252b6a0c61fb53f114c7c1916e364

audaspace: Fix build error with MSVC 17.4+

`DeviceManager.h` uses `std::string` without explicitly including
the `<string>` header. While older MSVC implicitly included this
header somewhere, the headers for 17.4+ do not leading to a build
error.

===================================================================

M	extern/audaspace/include/devices/DeviceManager.h

===================================================================

diff --git a/extern/audaspace/include/devices/DeviceManager.h b/extern/audaspace/include/devices/DeviceManager.h
index 27a546630e8..fa84025478f 100644
--- a/extern/audaspace/include/devices/DeviceManager.h
+++ b/extern/audaspace/include/devices/DeviceManager.h
@@ -27,6 +27,7 @@
 #include <memory>
 #include <vector>
 #include <unordered_map>
+#include <string>
 
 AUD_NAMESPACE_BEGIN



More information about the Bf-blender-cvs mailing list