This function is preventing Wagic: the homebrew from Compiling:
/home/white/Pandora/wagic-read-only/projects/mtg/src/GameOptions.cpp:1156: error: no match for ‘operator
s >> local
Calls the default operator >>
which does not understand your custom class LocalKeySym
So You need to Overload the Operator >>
for your custom class LocalKeySym
.
An sample code:
std::istream& operator>>(std::istream& is, LocalKeySym& obj)
{
// read LocalKeySym obj from stream
if( /* no valid object of LocalKeySym found in stream */ )
is.setstate(std::ios::failbit);
return is;
}