Skip to content
Snippets Groups Projects
Commit e5ed3af9 authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

fixed issue for centos build

parent a1f6299c
No related branches found
No related tags found
No related merge requests found
#include <sstream>
namespace IRDB_SDK
{
......@@ -7,7 +8,7 @@ namespace IRDB_SDK
template <class T>
inline string to_hex_string (const T& t)
{
stringstream ss();
stringstream ss;
ss << hex << t;
return ss.str();
}
......@@ -16,7 +17,7 @@ namespace IRDB_SDK
template<class T> inline T strtoint(const string& s)
{
auto str=stringstream(s);
stringstream str(s);
auto off=T();
str >> off;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment