proper renderer default

This commit is contained in:
Daniel Sipka 2015-04-26 18:30:43 +02:00
parent f8e23fd9ef
commit fcbfc427d1

View file

@ -74,7 +74,7 @@ class lambda {
std::string operator()( std::string operator()(
const std::string& text = "", const std::string& text = "",
renderer renderer = renderer()) const renderer renderer = [](const std::string&){ return "";}) const
{ {
return fun(text, renderer); return fun(text, renderer);
} }