We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a90b95f commit deeb473Copy full SHA for deeb473
1 file changed
core/BranchConfig.cpp
@@ -189,7 +189,8 @@ void BranchConfig::Print() const {
189
VectorConfig<float>::Print();
190
std::cout << "\nInteger fields:" << std::endl;
191
VectorConfig<int>::Print();
192
- std::cout << "\nBoolean fields:" << std::endl;
+ const std::string boolean_fields_empty_message = VectorConfig<bool>::map_.empty() ? " no boolean fields in this branch" : "";
193
+ std::cout << "\nBoolean fields:" << boolean_fields_empty_message << std::endl << std::endl;
194
VectorConfig<bool>::Print();
195
// std::cout << std::endl;
196
}
0 commit comments