Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
18efda71
Commit
18efda71
authored
May 27, 2021
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
client/Response: remove unused method Format()
parent
42239a30
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
13 deletions
+0
-13
Response.cxx
src/client/Response.cxx
+0
-10
Response.hxx
src/client/Response.hxx
+0
-3
No files found.
src/client/Response.cxx
View file @
18efda71
...
...
@@ -49,16 +49,6 @@ Response::FormatV(const char *fmt, std::va_list args) noexcept
}
bool
Response
::
Format
(
const
char
*
fmt
,
...)
noexcept
{
std
::
va_list
args
;
va_start
(
args
,
fmt
);
bool
success
=
FormatV
(
fmt
,
args
);
va_end
(
args
);
return
success
;
}
bool
Response
::
VFmt
(
fmt
::
string_view
format_str
,
fmt
::
format_args
args
)
noexcept
{
fmt
::
memory_buffer
buffer
;
...
...
src/client/Response.hxx
View file @
18efda71
...
...
@@ -81,9 +81,6 @@ public:
bool
Write
(
const
char
*
data
)
noexcept
;
bool
FormatV
(
const
char
*
fmt
,
std
::
va_list
args
)
noexcept
;
gcc_printf
(
2
,
3
)
bool
Format
(
const
char
*
fmt
,
...)
noexcept
;
bool
VFmt
(
fmt
::
string_view
format_str
,
fmt
::
format_args
args
)
noexcept
;
template
<
typename
S
,
typename
...
Args
>
...
...
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