Perhaps it wants c-style string and not just an individual char? I'm not sure to be honest, try checking the function's prototype on this website's reference.
std::string::append() basically takes a string-like object and appends a copy of it to the current std::string.
If you want to add a character, just use std::string::push_back(): my_string.push_back(37)