Skip to content

Commit

Permalink
Fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
peternewman committed Dec 30, 2014
1 parent c2c0646 commit 3829a74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/ola/StringUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ std::string IntToHexString(unsigned int i, unsigned int width);
* than use in an ostream (30 Dec 2014)
*/
inline std::string IntToHexString(uint8_t i) {
ostringstream str;
std::ostringstream str;
str << ToHex(i);
return str.str();
}
Expand All @@ -198,7 +198,7 @@ inline std::string IntToHexString(uint8_t i) {
* than use in an ostream (30 Dec 2014)
*/
inline std::string IntToHexString(uint16_t i) {
ostringstream str;
std::ostringstream str;
str << ToHex(i);
return str.str();
}
Expand All @@ -211,7 +211,7 @@ inline std::string IntToHexString(uint16_t i) {
* than use in an ostream (30 Dec 2014)
*/
inline std::string IntToHexString(uint32_t i) {
ostringstream str;
std::ostringstream str;
str << ToHex(i);
return str.str();
}
Expand Down

0 comments on commit 3829a74

Please sign in to comment.