Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
J
jami-daemon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
130
Issues
130
List
Boards
Labels
Service Desk
Milestones
Iterations
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
savoirfairelinux
jami-daemon
Commits
b7d723ec
Commit
b7d723ec
authored
May 24, 2019
by
Adrien Béraud
Committed by
Sébastien Blin
May 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
string utils: cleanup
Change-Id: I31f6aa38b7773bc0ecbdeb4ba2ae556f3fd53cc3
parent
ebb5e5c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
src/string_utils.cpp
src/string_utils.cpp
+0
-10
No files found.
src/string_utils.cpp
View file @
b7d723ec
...
...
@@ -70,16 +70,6 @@ bstrToStdString(BSTR bstr)
}
#endif
std
::
string
to_string
(
double
value
)
{
char
buf
[
64
];
int
len
=
snprintf
(
buf
,
sizeof
(
buf
),
"%-.*G"
,
16
,
value
);
if
(
len
<=
0
)
throw
std
::
invalid_argument
{
"can't parse double"
};
return
{
buf
,
(
size_t
)
len
};
}
std
::
string
trim
(
const
std
::
string
&
s
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment