diff --git a/lib/error.cc b/lib/error.cc index f2a6db0..1d16a0a 100644 --- a/lib/error.cc +++ b/lib/error.cc @@ -32,7 +32,7 @@ namespace crucible { // FIXME: could probably avoid some of these levels of indirection static - function current_catch_explainer = [&](string s) { + function current_catch_explainer = [](string s) { cerr << s << endl; };