From 1295bc95cc07833ff8333e29eda21c9a64972dc4 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 2 Sep 2015 13:35:50 +0100 Subject: [PATCH] Fix clang compilation --- src/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cc b/src/main.cc index 397a057a..68a16edd 100644 --- a/src/main.cc +++ b/src/main.cc @@ -52,7 +52,7 @@ void register_env_vars() String (*func)(StringView, const Context&); } env_vars[] = { { "bufname", - [](StringView name, const Context& context) + [](StringView name, const Context& context) -> String { return context.buffer().display_name(); } }, { "buffile",