🚨 fix warning
This commit is contained in:
parent
00cb98a3d1
commit
507d5676ad
1 changed files with 2 additions and 1 deletions
|
@ -38,6 +38,7 @@ SOFTWARE.
|
||||||
/* forward declarations */
|
/* forward declarations */
|
||||||
class alt_string;
|
class alt_string;
|
||||||
bool operator<(const char* op1, const alt_string& op2);
|
bool operator<(const char* op1, const alt_string& op2);
|
||||||
|
void int_to_string(alt_string& target, std::size_t value);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This is virtually a string class.
|
* This is virtually a string class.
|
||||||
|
@ -154,7 +155,7 @@ class alt_string
|
||||||
friend bool ::operator<(const char*, const alt_string&);
|
friend bool ::operator<(const char*, const alt_string&);
|
||||||
};
|
};
|
||||||
|
|
||||||
void int_to_string( alt_string& target, std::size_t value )
|
void int_to_string(alt_string& target, std::size_t value)
|
||||||
{
|
{
|
||||||
target = std::to_string(value).c_str();
|
target = std::to_string(value).c_str();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue