File tree Expand file tree Collapse file tree 4 files changed +3
-5
lines changed
Plugin/Source/Headless/UnitTests Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 3030 run : |
3131 sudo apt-get update
3232 sudo apt install libasound2-dev libx11-dev libxcomposite-dev libxcursor-dev libxext-dev libxinerama-dev libxrandr-dev libxrender-dev libfreetype6-dev libglu1-mesa-dev libjack-jackd2-dev
33- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 9
34- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 9
3533
3634 - name : Get latest CMake
3735 uses : lukka/get-cmake@latest
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class MixGroupsTest : public UnitTest
2828 std::unique_ptr<Proc> createPlugin ()
2929 {
3030 auto proc = createPluginFilterOfType (AudioProcessor::WrapperType::wrapperType_Standalone);
31- std::unique_ptr<Proc> plugin (dynamic_cast <Proc*> (proc));
31+ std::unique_ptr<Proc> plugin (dynamic_cast <Proc*> (proc. release () ));
3232 return std::move (plugin);
3333 }
3434
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class MultiChannelTest : public UnitTest
1919 std::unique_ptr<Proc> createPlugin ()
2020 {
2121 auto proc = createPluginFilterOfType (AudioProcessor::WrapperType::wrapperType_Standalone);
22- std::unique_ptr<Proc> plugin (dynamic_cast <Proc*> (proc));
22+ std::unique_ptr<Proc> plugin (dynamic_cast <Proc*> (proc. release () ));
2323 return std::move (plugin);
2424 }
2525
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ class PresetLevelTest : public UnitTest
1313
1414 std::unique_ptr<ChowtapeModelAudioProcessor> proc {
1515 dynamic_cast <ChowtapeModelAudioProcessor*> (createPluginFilterOfType (
16- AudioProcessor::WrapperType::wrapperType_Standalone))
16+ AudioProcessor::WrapperType::wrapperType_Standalone). release () )
1717 };
1818
1919 static constexpr double sampleRate = 48000.0 ;
You can’t perform that action at this time.
0 commit comments