Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
spdlog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
spdlog
Commits
59f54cda
Commit
59f54cda
authored
Jul 04, 2018
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed msvc conversion warnings
parent
95de24e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
9 deletions
+2
-9
fmt_helper.h
include/spdlog/details/fmt_helper.h
+2
-7
mpmc_blocking_q.h
include/spdlog/details/mpmc_blocking_q.h
+0
-2
No files found.
include/spdlog/details/fmt_helper.h
View file @
59f54cda
...
...
@@ -86,7 +86,7 @@ inline void pad3(int n, fmt::memory_buffer &dest)
fmt
::
format_to
(
dest
,
"{:03}"
,
n
);
}
inline
void
pad6
(
in
t
n
,
fmt
::
memory_buffer
&
dest
)
inline
void
pad6
(
size_
t
n
,
fmt
::
memory_buffer
&
dest
)
{
if
(
n
>
99999
)
{
...
...
@@ -122,12 +122,7 @@ inline void pad6(int n, fmt::memory_buffer &dest)
dest
.
push_back
(
'0'
);
dest
.
push_back
(
'0'
);
dest
.
push_back
(
'0'
);
}
else
// negatives (unlikely, but just in case let fmt deal with it)
{
fmt
::
format_to
(
dest
,
"{:06}"
,
n
);
return
;
}
}
append_int
(
n
,
dest
);
}
...
...
include/spdlog/details/mpmc_blocking_q.h
View file @
59f54cda
...
...
@@ -59,7 +59,6 @@ public:
{
return
false
;
}
q_
.
pop_front
(
popped_item
);
}
pop_cv_
.
notify_one
();
...
...
@@ -70,7 +69,6 @@ private:
std
::
mutex
queue_mutex_
;
std
::
condition_variable
push_cv_
;
std
::
condition_variable
pop_cv_
;
spdlog
::
details
::
circular_q
<
T
>
q_
;
};
}
// namespace details
...
...
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