Fix gcc compilation
This commit is contained in:
parent
8dcd779fc4
commit
f275fd3c32
|
@ -49,8 +49,8 @@ class Packer : public msgpack::packer<msgpack::sbuffer> {
|
|||
populate_visitor_map<Tail...>::populate(map);
|
||||
}
|
||||
};
|
||||
template <>
|
||||
struct populate_visitor_map<> {
|
||||
template <class Head>
|
||||
struct populate_visitor_map<Head> {
|
||||
static void populate(VisitorMap&) {}
|
||||
};
|
||||
|
||||
|
|
|
@ -77,6 +77,8 @@ constexpr std::string_view to_string(WaitState st) {
|
|||
return "Network"sv;
|
||||
case WaitState::Running:
|
||||
return "Running"sv;
|
||||
default:
|
||||
return ""sv;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -818,6 +818,7 @@ struct Role {
|
|||
case ProcessClass::Worker:
|
||||
return WORKER;
|
||||
case ProcessClass::NoRole:
|
||||
default:
|
||||
ASSERT(false);
|
||||
throw internal_error();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue