Commit e9b49a43 authored by Max Kellermann's avatar Max Kellermann

config/Block: add method IsEmpty()

parent 4fa5538e
......@@ -90,6 +90,11 @@ struct ConfigBlock {
return line < 0;
}
gcc_pure
bool IsEmpty() const {
return block_params.empty();
}
gcc_nonnull_all
void AddBlockParam(const char *_name, const char *_value,
int _line=-1) {
......
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