no dyn memory allocation, print seems to work
This commit is contained in:
@ -76,29 +76,13 @@ private:
|
||||
stringToFill[i] = '0';
|
||||
}
|
||||
numString.copy(stringToFill.data() + i, numString.size());
|
||||
// std::streambuf streambuf;
|
||||
// std::ostringstream string_to_pad;
|
||||
// string_to_pad << std::setw(width) << std::setfill('0') << num;
|
||||
// std::string result = string_to_pad.str();
|
||||
// if (result.length() > width)
|
||||
// {
|
||||
// result.erase(0, result.length() - width);
|
||||
// }
|
||||
// return result;
|
||||
//std::string dest = std::string( number_of_zeros, '0').append( original_string);
|
||||
return HasReturnvaluesIF::RETURN_OK;
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#ifdef UT699
|
||||
class ServiceInterfaceBuffer: public std::basic_streambuf<char,
|
||||
std::char_traits<char> > {
|
||||
|
Reference in New Issue
Block a user