[Bf-blender-cvs] [ac7b4855bd9] blender-v2.93-release: audaspace: Fix build error with MSVC 17.4+

Ray Molenkamp noreply at git.blender.org
Wed Dec 14 14:42:42 CET 2022


Commit: ac7b4855bd924cfbd6dbabee0810dff03deee060
Author: Ray Molenkamp
Date:   Wed Nov 9 14:39:15 2022 -0700
Branches: blender-v2.93-release
https://developer.blender.org/rBac7b4855bd924cfbd6dbabee0810dff03deee060

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