[Bf-blender-cvs] [be34354500f] blender-v3.3-release: audaspace: Fix build error with MSVC 17.4+

Ray Molenkamp noreply at git.blender.org
Mon Nov 28 14:38:00 CET 2022


Commit: be34354500fdc2f5be52a3046d7e77a07114042d
Author: Ray Molenkamp
Date:   Wed Nov 9 14:39:15 2022 -0700
Branches: blender-v3.3-release
https://developer.blender.org/rBbe34354500fdc2f5be52a3046d7e77a07114042d

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