Fix hex_functions compile errors
This commit is contained in:
parent
bb0b767ba4
commit
e36dae20b7
@ -60,7 +60,7 @@ namespace omni
|
|||||||
stream << std::setfill('0') << std::setw(sizeof(char)*2)
|
stream << std::setfill('0') << std::setw(sizeof(char)*2)
|
||||||
<< std::hex << input;
|
<< std::hex << input;
|
||||||
std::string result(stream.str());
|
std::string result(stream.str());
|
||||||
std::transform(str.begin(), str.end(), str.begin(), ::toupper);
|
std::transform(result.begin(), result.end(), result.begin(), ::toupper);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <iomanip>
|
||||||
|
#include <sstream>
|
||||||
|
|
||||||
namespace omni
|
namespace omni
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user