Unverified Commit dc65e0ac authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[ci] fixed whitespace cpplint issue in auto-config (#2488)

parent 67099ff8
......@@ -293,7 +293,7 @@ def gen_parameter_code(config_hpp, config_out_cpp):
tmp = set_one_var_from_string(name, param_type, checks)
str_to_write += tmp
# tails
str_to_write += "}\n\n"
str_to_write = str_to_write.strip() + "\n}\n\n"
str_to_write += "std::string Config::SaveMembersToString() const {\n"
str_to_write += " std::stringstream str_buf;\n"
for x in infos:
......
......@@ -579,7 +579,6 @@ void Config::GetMembersFromString(const std::unordered_map<std::string, std::str
GetInt(params, "gpu_device_id", &gpu_device_id);
GetBool(params, "gpu_use_dp", &gpu_use_dp);
}
std::string Config::SaveMembersToString() const {
......
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