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
2d264855
Unverified
Commit
2d264855
authored
Nov 28, 2019
by
Gabi Melman
Committed by
GitHub
Nov 28, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1331 from 0x8000-0000/fix-warnings
Fix compiler warnings
parents
79259fdb
c172c72b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
log_msg-inl.h
include/spdlog/details/log_msg-inl.h
+4
-4
os-inl.h
include/spdlog/details/os-inl.h
+1
-1
pattern_formatter-inl.h
include/spdlog/details/pattern_formatter-inl.h
+1
-1
thread_pool-inl.h
include/spdlog/details/thread_pool-inl.h
+1
-1
No files found.
include/spdlog/details/log_msg-inl.h
View file @
2d264855
...
...
@@ -12,8 +12,8 @@
namespace
spdlog
{
namespace
details
{
SPDLOG_INLINE
log_msg
::
log_msg
(
spdlog
::
source_loc
loc
,
string_view_t
logger_name
,
spdlog
::
level
::
level_enum
lvl
,
spdlog
::
string_view_t
msg
)
:
logger_name
(
logger_name
)
SPDLOG_INLINE
log_msg
::
log_msg
(
spdlog
::
source_loc
loc
,
string_view_t
a_
logger_name
,
spdlog
::
level
::
level_enum
lvl
,
spdlog
::
string_view_t
msg
)
:
logger_name
(
a_
logger_name
)
,
level
(
lvl
)
,
time
(
os
::
now
())
#ifndef SPDLOG_NO_THREAD_ID
...
...
@@ -23,8 +23,8 @@ SPDLOG_INLINE log_msg::log_msg(spdlog::source_loc loc, string_view_t logger_name
,
payload
(
msg
)
{}
SPDLOG_INLINE
log_msg
::
log_msg
(
string_view_t
logger_name
,
spdlog
::
level
::
level_enum
lvl
,
spdlog
::
string_view_t
msg
)
:
log_msg
(
source_loc
{},
logger_name
,
lvl
,
msg
)
SPDLOG_INLINE
log_msg
::
log_msg
(
string_view_t
a_
logger_name
,
spdlog
::
level
::
level_enum
lvl
,
spdlog
::
string_view_t
msg
)
:
log_msg
(
source_loc
{},
a_
logger_name
,
lvl
,
msg
)
{}
}
// namespace details
...
...
include/spdlog/details/os-inl.h
View file @
2d264855
...
...
@@ -462,7 +462,7 @@ SPDLOG_INLINE void wstr_to_utf8buf(wstring_view_t wstr, memory_buf_t &target)
#endif // (defined(SPDLOG_WCHAR_TO_UTF8_SUPPORT) || defined(SPDLOG_WCHAR_FILENAMES)) && defined(_WIN32)
// return true on success
SPDLOG_INLINE
bool
mkdir_
(
const
filename_t
&
path
)
static
SPDLOG_INLINE
bool
mkdir_
(
const
filename_t
&
path
)
{
#ifdef _WIN32
#ifdef SPDLOG_WCHAR_FILENAMES
...
...
include/spdlog/details/pattern_formatter-inl.h
View file @
2d264855
...
...
@@ -77,7 +77,7 @@ private:
{
// count = std::min(count, spaces_.size());
// assert(count <= spaces_.size());
fmt_helper
::
append_string_view
(
string_view_t
(
spaces_
.
data
(),
count
),
dest_
);
fmt_helper
::
append_string_view
(
string_view_t
(
spaces_
.
data
(),
static_cast
<
size_t
>
(
count
)
),
dest_
);
}
const
padding_info
&
padinfo_
;
...
...
include/spdlog/details/thread_pool-inl.h
View file @
2d264855
...
...
@@ -81,7 +81,7 @@ void SPDLOG_INLINE thread_pool::post_async_msg_(async_msg &&new_msg, async_overf
void
SPDLOG_INLINE
thread_pool
::
worker_loop_
()
{
while
(
process_next_msg_
())
{}
;
while
(
process_next_msg_
())
{}
}
// process next message in the queue
...
...
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