Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
IRDB SDK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source Software
IRDB SDK
Commits
e5ed3af9
Commit
e5ed3af9
authored
6 years ago
by
Jason Hiser
Browse files
Options
Downloads
Patches
Plain Diff
fixed issue for centos build
parent
a1f6299c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/inc-util/utils.hpp
+3
-2
3 additions, 2 deletions
include/inc-util/utils.hpp
with
3 additions
and
2 deletions
include/inc-util/utils.hpp
+
3
−
2
View file @
e5ed3af9
#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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment