Open rohanharikr opened 3 years ago
It appears the compiler is complaining about a non-const reference in the comparison, but I don't understand exactly why. The animation operator here is defined with a const reference as per CPP Reference. Could you share some of your code or maybe explain a bit more about what you're doing so I can try and recreate the problem?
Thanks for the response @fallahn. I didn't write any code, just opened up your SFML example in VS. Not sure if the following information might be helpful, but I added tmxlite and SFML with vcpkg targeting 32 bit.
OK thanks, I'll take a look when I can.
A small update: I've tried building the SFML example as included with the Visual Studio solution in the repository and it seems to work OK. I'm not familiar with vcpkg, so maybe it's an issue with version mismatch? Could you perhaps try cloning the repository and build the current revision to see if the problem exists? Thanks!
Is it just me or is anyone else experiencing this issue? I'm on VS 19 Community Edition.