Skip to content

Commit

Permalink
Try to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
sgallou committed Jan 8, 2025
1 parent ec5893c commit 8416735
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,9 @@ namespace OpenZWave
#if __cplusplus==201103L || __APPLE__
return to_string(x);
#else
return (std::ostringstream() << std::dec << x).str();
std::ostringstream oss;
oss << std::dec << x;
return oss.str();
#endif
}

Expand Down

0 comments on commit 8416735

Please sign in to comment.