From fcbfc427d18dfd181bc8c64fd2bc230f35057916 Mon Sep 17 00:00:00 2001 From: Daniel Sipka Date: Sun, 26 Apr 2015 18:30:43 +0200 Subject: [PATCH] proper renderer default --- include/mstch/mstch.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mstch/mstch.hpp b/include/mstch/mstch.hpp index f09cbaa..f52c21e 100644 --- a/include/mstch/mstch.hpp +++ b/include/mstch/mstch.hpp @@ -74,7 +74,7 @@ class lambda { std::string operator()( const std::string& text = "", - renderer renderer = renderer()) const + renderer renderer = [](const std::string&){ return "";}) const { return fun(text, renderer); }