flamewing / mdcomp

Assorted compression formats for the Sega Mega Drive
Other
45 stars 4 forks source link

Possible bug in nemesis.cc #15

Closed Clownacy closed 4 years ago

Clownacy commented 4 years ago

I don't know the first thing about C++, so I'm mainly just relaying what Visual Studio 2019 is telling me.

Apparently this line in nemesis.cc is wrong:

operator()(SizeFreqNibble const& lhs, SizeFreqNibble const& rhs) noexcept {

It gives me a 'C3848' error. Changing the line to this makes it go away:

operator()(SizeFreqNibble const& lhs, SizeFreqNibble const& rhs) const noexcept {