remove unnecessary lambdas
This commit is contained in:
parent
1d0d1bde8f
commit
89008bf4b1
1 changed files with 0 additions and 6 deletions
|
@ -5,9 +5,6 @@ std::map<std::string,std::function<std::string(const std::string&)>> specs_lambd
|
||||||
{"Interpolation - Expansion", [](const std::string&) {
|
{"Interpolation - Expansion", [](const std::string&) {
|
||||||
return "{{planet}}";
|
return "{{planet}}";
|
||||||
}},
|
}},
|
||||||
{"Interpolation - Alternate Delimiters", [](const std::string&) {
|
|
||||||
return "|planet| => {{planet}}";
|
|
||||||
}},
|
|
||||||
{"Interpolation - Multiple Calls", [](const std::string&) {
|
{"Interpolation - Multiple Calls", [](const std::string&) {
|
||||||
static int calls = 0; return std::to_string(++calls);
|
static int calls = 0; return std::to_string(++calls);
|
||||||
}},
|
}},
|
||||||
|
@ -20,9 +17,6 @@ std::map<std::string,std::function<std::string(const std::string&)>> specs_lambd
|
||||||
{"Section - Expansion", [](const std::string& txt) {
|
{"Section - Expansion", [](const std::string& txt) {
|
||||||
return txt + "{{planet}}" + txt;
|
return txt + "{{planet}}" + txt;
|
||||||
}},
|
}},
|
||||||
{"Section - Alternate Delimiters", [](const std::string& txt) {
|
|
||||||
return txt + "{{planet}} => |planet|" + txt;
|
|
||||||
}},
|
|
||||||
{"Section - Multiple Calls", [](const std::string& txt) {
|
{"Section - Multiple Calls", [](const std::string& txt) {
|
||||||
return "__" + txt + "__";
|
return "__" + txt + "__";
|
||||||
}},
|
}},
|
||||||
|
|
Loading…
Reference in a new issue