aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test_audio.cpp
diff options
context:
space:
mode:
authorChris Peterson <[email protected]>2024-06-03 22:06:07 -0700
committerPaul Adenot <[email protected]>2024-06-04 17:45:46 +0200
commit42cf7061fcea5fd6178d6affe27da4a388346bda (patch)
treea5648fdd0ecac275c7a60650e2aacab65f34594b /test/test_audio.cpp
parentdabff209ddc97c5d1c304e64107d0c8c1dbe6897 (diff)
downloadcubeb-42cf7061fcea5fd6178d6affe27da4a388346bda.tar.gz
cubeb-42cf7061fcea5fd6178d6affe27da4a388346bda.zip
Include <memory> for std::unique_ptr
LLVM's libc++ is removing transitive inclusions among std header files in newer C++ versions, so user code must explicitly include needed std header files. In this case, cubeb_opensl.cpp must explicitly include <memory> for `std::unique_ptr` because, starting in C++23, <vector> no longers includes <memory>. https://libcxx.llvm.org/DesignDocs/HeaderRemovalPolicy.html ``` libcubeb/src/cubeb_opensl.cpp:140:8: error: no template named 'unique_ptr' in namespace 'std' 140 | std::unique_ptr<cubeb_stream_params> input_params; | ~~~~~^ ```
Diffstat (limited to 'test/test_audio.cpp')
0 files changed, 0 insertions, 0 deletions