Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
spdlog
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
spdlog
Commits
7a7611e9
Unverified
Commit
7a7611e9
authored
Jun 13, 2021
by
Gabi Melman
Committed by
GitHub
Jun 13, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1970 from bansan85/v1.x
Fix signed/unsigned mismatch in VS
parents
f2d1d573
ec8763ad
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
include/spdlog/async.h
include/spdlog/async.h
+1
-1
include/spdlog/details/file_helper.h
include/spdlog/details/file_helper.h
+1
-1
include/spdlog/details/os-inl.h
include/spdlog/details/os-inl.h
+1
-1
include/spdlog/details/os.h
include/spdlog/details/os.h
+1
-1
No files found.
include/spdlog/async.h
View file @
7a7611e9
...
@@ -46,7 +46,7 @@ struct async_factory_impl
...
@@ -46,7 +46,7 @@ struct async_factory_impl
auto
tp
=
registry_inst
.
get_tp
();
auto
tp
=
registry_inst
.
get_tp
();
if
(
tp
==
nullptr
)
if
(
tp
==
nullptr
)
{
{
tp
=
std
::
make_shared
<
details
::
thread_pool
>
(
details
::
default_async_q_size
,
1
);
tp
=
std
::
make_shared
<
details
::
thread_pool
>
(
details
::
default_async_q_size
,
1
U
);
registry_inst
.
set_tp
(
tp
);
registry_inst
.
set_tp
(
tp
);
}
}
...
...
include/spdlog/details/file_helper.h
View file @
7a7611e9
...
@@ -47,7 +47,7 @@ public:
...
@@ -47,7 +47,7 @@ public:
private:
private:
const
int
open_tries_
=
5
;
const
int
open_tries_
=
5
;
const
int
open_interval_
=
10
;
const
unsigned
int
open_interval_
=
10
;
std
::
FILE
*
fd_
{
nullptr
};
std
::
FILE
*
fd_
{
nullptr
};
filename_t
filename_
;
filename_t
filename_
;
};
};
...
...
include/spdlog/details/os-inl.h
View file @
7a7611e9
...
@@ -366,7 +366,7 @@ SPDLOG_INLINE size_t thread_id() SPDLOG_NOEXCEPT
...
@@ -366,7 +366,7 @@ SPDLOG_INLINE size_t thread_id() SPDLOG_NOEXCEPT
// This is avoid msvc issue in sleep_for that happens if the clock changes.
// This is avoid msvc issue in sleep_for that happens if the clock changes.
// See https://github.com/gabime/spdlog/issues/609
// See https://github.com/gabime/spdlog/issues/609
SPDLOG_INLINE
void
sleep_for_millis
(
int
milliseconds
)
SPDLOG_NOEXCEPT
SPDLOG_INLINE
void
sleep_for_millis
(
unsigned
int
milliseconds
)
SPDLOG_NOEXCEPT
{
{
#if defined(_WIN32)
#if defined(_WIN32)
::
Sleep
(
milliseconds
);
::
Sleep
(
milliseconds
);
...
...
include/spdlog/details/os.h
View file @
7a7611e9
...
@@ -74,7 +74,7 @@ SPDLOG_API size_t thread_id() SPDLOG_NOEXCEPT;
...
@@ -74,7 +74,7 @@ SPDLOG_API size_t thread_id() SPDLOG_NOEXCEPT;
// This is avoid msvc issue in sleep_for that happens if the clock changes.
// This is avoid msvc issue in sleep_for that happens if the clock changes.
// See https://github.com/gabime/spdlog/issues/609
// See https://github.com/gabime/spdlog/issues/609
SPDLOG_API
void
sleep_for_millis
(
int
milliseconds
)
SPDLOG_NOEXCEPT
;
SPDLOG_API
void
sleep_for_millis
(
unsigned
int
milliseconds
)
SPDLOG_NOEXCEPT
;
SPDLOG_API
std
::
string
filename_to_str
(
const
filename_t
&
filename
);
SPDLOG_API
std
::
string
filename_to_str
(
const
filename_t
&
filename
);
...
...
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