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
19c7e638
Commit
19c7e638
authored
Mar 15, 2020
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added final keywords to pattern_formatter classes
parent
7efdcc26
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
include/spdlog/details/pattern_formatter-inl.h
include/spdlog/details/pattern_formatter-inl.h
+6
-6
No files found.
include/spdlog/details/pattern_formatter-inl.h
View file @
19c7e638
...
@@ -90,7 +90,7 @@ struct null_scoped_padder
...
@@ -90,7 +90,7 @@ struct null_scoped_padder
};
};
template
<
typename
ScopedPadder
>
template
<
typename
ScopedPadder
>
class
name_formatter
:
public
flag_formatter
class
name_formatter
final
:
public
flag_formatter
{
{
public:
public:
explicit
name_formatter
(
padding_info
padinfo
)
explicit
name_formatter
(
padding_info
padinfo
)
...
@@ -106,7 +106,7 @@ public:
...
@@ -106,7 +106,7 @@ public:
// log level appender
// log level appender
template
<
typename
ScopedPadder
>
template
<
typename
ScopedPadder
>
class
level_formatter
:
public
flag_formatter
class
level_formatter
final
:
public
flag_formatter
{
{
public:
public:
explicit
level_formatter
(
padding_info
padinfo
)
explicit
level_formatter
(
padding_info
padinfo
)
...
@@ -123,7 +123,7 @@ public:
...
@@ -123,7 +123,7 @@ public:
// short log level appender
// short log level appender
template
<
typename
ScopedPadder
>
template
<
typename
ScopedPadder
>
class
short_level_formatter
:
public
flag_formatter
class
short_level_formatter
final
:
public
flag_formatter
{
{
public:
public:
explicit
short_level_formatter
(
padding_info
padinfo
)
explicit
short_level_formatter
(
padding_info
padinfo
)
...
@@ -156,7 +156,7 @@ static int to12h(const tm &t)
...
@@ -156,7 +156,7 @@ static int to12h(const tm &t)
static
std
::
array
<
const
char
*
,
7
>
days
{{
"Sun"
,
"Mon"
,
"Tue"
,
"Wed"
,
"Thu"
,
"Fri"
,
"Sat"
}};
static
std
::
array
<
const
char
*
,
7
>
days
{{
"Sun"
,
"Mon"
,
"Tue"
,
"Wed"
,
"Thu"
,
"Fri"
,
"Sat"
}};
template
<
typename
ScopedPadder
>
template
<
typename
ScopedPadder
>
class
a_formatter
:
public
flag_formatter
class
a_formatter
final
:
public
flag_formatter
{
{
public:
public:
explicit
a_formatter
(
padding_info
padinfo
)
explicit
a_formatter
(
padding_info
padinfo
)
...
@@ -194,7 +194,7 @@ public:
...
@@ -194,7 +194,7 @@ public:
static
const
std
::
array
<
const
char
*
,
12
>
months
{{
"Jan"
,
"Feb"
,
"Mar"
,
"Apr"
,
"May"
,
"Jun"
,
"Jul"
,
"Aug"
,
"Sept"
,
"Oct"
,
"Nov"
,
"Dec"
}};
static
const
std
::
array
<
const
char
*
,
12
>
months
{{
"Jan"
,
"Feb"
,
"Mar"
,
"Apr"
,
"May"
,
"Jun"
,
"Jul"
,
"Aug"
,
"Sept"
,
"Oct"
,
"Nov"
,
"Dec"
}};
template
<
typename
ScopedPadder
>
template
<
typename
ScopedPadder
>
class
b_formatter
:
public
flag_formatter
class
b_formatter
final
:
public
flag_formatter
{
{
public:
public:
explicit
b_formatter
(
padding_info
padinfo
)
explicit
b_formatter
(
padding_info
padinfo
)
...
@@ -214,7 +214,7 @@ static const std::array<const char *, 12> full_months{
...
@@ -214,7 +214,7 @@ static const std::array<const char *, 12> full_months{
{
"January"
,
"February"
,
"March"
,
"April"
,
"May"
,
"June"
,
"July"
,
"August"
,
"September"
,
"October"
,
"November"
,
"December"
}};
{
"January"
,
"February"
,
"March"
,
"April"
,
"May"
,
"June"
,
"July"
,
"August"
,
"September"
,
"October"
,
"November"
,
"December"
}};
template
<
typename
ScopedPadder
>
template
<
typename
ScopedPadder
>
class
B_formatter
:
public
flag_formatter
class
B_formatter
final
:
public
flag_formatter
{
{
public:
public:
explicit
B_formatter
(
padding_info
padinfo
)
explicit
B_formatter
(
padding_info
padinfo
)
...
...
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