Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fmt
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
fmt
Commits
db86e8d5
Commit
db86e8d5
authored
Feb 15, 2018
by
Lars Gullik Bjønnes
Committed by
Victor Zverovich
Feb 24, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove a couple of unused argument names
parent
55f5c9f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
include/fmt/core.h
include/fmt/core.h
+1
-1
include/fmt/format.h
include/fmt/format.h
+1
-1
No files found.
include/fmt/core.h
View file @
db86e8d5
...
...
@@ -583,7 +583,7 @@ FMT_MAKE_VALUE(pointer_type, std::nullptr_t, const void*)
// formatting of "[const] volatile char *" which is printed as bool by
// iostreams.
template
<
typename
T
>
void
make_value
(
const
T
*
p
)
{
void
make_value
(
const
T
*
)
{
static_assert
(
!
sizeof
(
T
),
"formatting of non-void pointers is disallowed"
);
}
...
...
include/fmt/format.h
View file @
db86e8d5
...
...
@@ -904,7 +904,7 @@ inline Char *format_decimal(Char *buffer, UInt value, unsigned num_digits,
template
<
typename
UInt
,
typename
Iterator
,
typename
ThousandsSep
>
inline
Iterator
format_decimal
(
Iterator
out
,
UInt
value
,
unsigned
num_digits
,
ThousandsSep
thousands_sep
)
{
Iterator
out
,
UInt
value
,
unsigned
num_digits
,
ThousandsSep
)
{
// Buffer should be large enough to hold all digits (digits10 + 1) and null.
char
buffer
[
std
::
numeric_limits
<
UInt
>::
digits10
+
2
];
format_decimal
(
buffer
,
value
,
num_digits
,
no_thousands_sep
());
...
...
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