Commit 43da85a5 authored by Dominik Charousset's avatar Dominik Charousset

Remove unused return values

parent 59f117d3
...@@ -40,9 +40,8 @@ struct test_consumer { ...@@ -40,9 +40,8 @@ struct test_consumer {
return *this; return *this;
} }
test_consumer& end_map() { void end_map() {
log.emplace_back("}"); log.emplace_back("}");
return *this;
} }
test_consumer& begin_list() { test_consumer& begin_list() {
...@@ -50,9 +49,8 @@ struct test_consumer { ...@@ -50,9 +49,8 @@ struct test_consumer {
return *this; return *this;
} }
test_consumer& end_list() { void end_list() {
log.emplace_back("]"); log.emplace_back("]");
return *this;
} }
void key(std::string name) { void key(std::string name) {
...@@ -70,8 +68,6 @@ struct test_consumer { ...@@ -70,8 +68,6 @@ struct test_consumer {
} }
}; };
struct ini_consumer { struct ini_consumer {
using inner_map = std::map<std::string, config_value>; using inner_map = std::map<std::string, config_value>;
using section_map = std::map<std::string, inner_map>; using section_map = std::map<std::string, inner_map>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment