This solved it. The documentation writes an & before the argument thus I thought it requires a pointer but wait & is the reference operator in arguments in C++, thus an object was expected. & only yields an address. Oh my C++ is rusty.
Thank you.
This solved it. The documentation writes an & before the argument thus I thought it requires a pointer but wait & is the reference operator in arguments in C++, thus an object was expected. & only yields an address. Oh my C++ is rusty.
Thank you.
Bookmarks