upd: fix bug in Any2String
This commit is contained in:
@ -59,6 +59,8 @@ std::string Any2String(const std::any &value) {
|
||||
buf << "False";
|
||||
} else if (auto ptr = std::any_cast<ZYM::int2048>(&value))
|
||||
buf << *ptr;
|
||||
else if (auto ptr = std::any_cast<std::string>(&value))
|
||||
buf << *ptr;
|
||||
else
|
||||
throw FatalError("Any2String: unknown type");
|
||||
buf >> res;
|
||||
|
Reference in New Issue
Block a user