Fix clang compilation

This commit is contained in:
Maxime Coste 2015-09-02 13:35:50 +01:00
parent adcd0a03b1
commit 1295bc95cc

View File

@ -52,7 +52,7 @@ void register_env_vars()
String (*func)(StringView, const Context&); String (*func)(StringView, const Context&);
} env_vars[] = { { } env_vars[] = { {
"bufname", "bufname",
[](StringView name, const Context& context) [](StringView name, const Context& context) -> String
{ return context.buffer().display_name(); } { return context.buffer().display_name(); }
}, { }, {
"buffile", "buffile",