mirror of
https://github.com/reactos/reactos.git
synced 2024-10-19 15:41:31 +00:00
c2d0d784c7
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup - In the future, DO NOT under any circumstances branch another branch. This leads to merge problems! svn path=/branches/usb-bringup-trunk/; revision=55018
20 lines
304 B
C++
20 lines
304 B
C++
#ifndef STLP_DIGITS_H
|
|
#define STLP_DIGITS_H
|
|
|
|
#include <string>
|
|
|
|
inline void
|
|
#if !defined (STLPORT) || defined (_STLP_USE_NAMESPACES)
|
|
complete_digits(std::string &digits)
|
|
#else
|
|
complete_digits(string &digits)
|
|
#endif
|
|
{
|
|
while (digits.size() < 2)
|
|
{
|
|
digits.insert(digits.begin(), '0');
|
|
}
|
|
}
|
|
|
|
#endif
|