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
67b63388
Commit
67b63388
authored
Dec 20, 2014
by
Jens Breitbart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced throw() with noexcept and removed some unneeded ';'.
parent
7674bdb4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
include/spdlog/common.h
include/spdlog/common.h
+2
-2
include/spdlog/details/file_helper.h
include/spdlog/details/file_helper.h
+1
-1
include/spdlog/sinks/base_sink.h
include/spdlog/sinks/base_sink.h
+1
-1
include/spdlog/sinks/syslog_sink.h
include/spdlog/sinks/syslog_sink.h
+1
-1
No files found.
include/spdlog/common.h
View file @
67b63388
...
...
@@ -71,8 +71,8 @@ inline const char* to_str(spdlog::level::level_enum l)
class
spdlog_ex
:
public
std
::
exception
{
public:
spdlog_ex
(
const
std
::
string
&
msg
)
:
_msg
(
msg
)
{}
;
const
char
*
what
()
const
throw
()
override
spdlog_ex
(
const
std
::
string
&
msg
)
:
_msg
(
msg
)
{}
const
char
*
what
()
const
noexcept
override
{
return
_msg
.
c_str
();
}
...
...
include/spdlog/details/file_helper.h
View file @
67b63388
...
...
@@ -51,7 +51,7 @@ public:
explicit
file_helper
(
bool
auto_flush
)
:
_fd
(
nullptr
),
_auto_flush
(
auto_flush
)
{}
;
{}
file_helper
(
const
file_helper
&
)
=
delete
;
file_helper
&
operator
=
(
const
file_helper
&
)
=
delete
;
...
...
include/spdlog/sinks/base_sink.h
View file @
67b63388
...
...
@@ -56,7 +56,7 @@ public:
{
std
::
lock_guard
<
Mutex
>
lock
(
_mutex
);
_sink_it
(
msg
);
}
;
}
protected:
...
...
include/spdlog/sinks/syslog_sink.h
View file @
67b63388
...
...
@@ -75,7 +75,7 @@ public:
void
log
(
const
details
::
log_msg
&
msg
)
override
{
::
syslog
(
syslog_prio_from_level
(
msg
),
"%s"
,
msg
.
formatted
.
str
().
c_str
());
}
;
}
...
...
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