Commit 0f800569 authored by Kenton Varda's avatar Kenton Varda

Fix C++11 build.

parent 30722cc2
......@@ -241,7 +241,7 @@ void OneOf<Variants...>::allHandled() {
switch (auto _kj_switch_subject = value._switchSubject(); _kj_switch_subject->which())
#else
#define KJ_SWITCH_ONEOF(value) \
// Without C++17, we can only support one switch per containing block. Deal with it.
/* Without C++17, we can only support one switch per containing block. Deal with it. */ \
auto _kj_switch_subject = value._switchSubject(); \
switch (_kj_switch_subject->which())
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment