Closed oviano closed 1 year ago
Ok, I think I just need to better understand the newer API, so I'm closing this now.
I think this should just be CachedRatio<char>
now and scorer.similarity
now.
and you might want to pass CachedRatio
as const &
, since it is not modified by the score calculation.
Yes, thank you, I figured that out in the end! I was using a version from quite a while ago.
Anyway, thanks for the library!
I was using version 0.0.1 of the amalgamation from I guess a couple of years ago and I was able to drop this into my project and it built and I could use it fine.
Today I tried the latest amalgamation, and I get all these weird errors in Xcode, and similar under MSVC:
I had a look at CMakeLists.txt but aside from specifying that C++17 is required, I couldn't spot anything else I need.
I have specified C++20 in my own project, but I get the same errors if I change it to C++17.