zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 91692211404172dfd9d1e210c1f7cf1c3b064f27
parent f5444f8706b98f764b17d0131cd7e8dc20b611ee
Author: fundamental <[email protected]>
Date:   Sat, 30 May 2020 16:17:10 -0400

Resolve Windows build issue

Credit to tracking down the issue goes to FormulaGX at
https://github.com/zynaddsubfx/zyn-fusion-build/issues/52

Diffstat:
Msrc/Misc/MiddleWare.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Misc/MiddleWare.cpp b/src/Misc/MiddleWare.cpp @@ -190,7 +190,7 @@ void preparePadSynth(string path, PADnoteParameters *p, rtosc::RtData &d) #ifdef WIN32 unsigned num = p->sampleGenerator([&path,&d] - (unsigned N, PADnoteParameters::Sample &s) + (unsigned N, PADnoteParameters::Sample &&s) { //printf("sending info to '%s'\n", // (path+to_s(N)).c_str());