Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mtxclient
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nheko Reborn
mtxclient
Commits
a0b20398
Unverified
Commit
a0b20398
authored
7 months ago
by
Nicolas Werner
Committed by
GitHub
7 months ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #108 from tchaikov/fmt-11
Fix build with fmt 11
parents
018e208d
4a4726c7
No related branches found
No related tags found
No related merge requests found
Pipeline
#5886
failed
7 months ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/mtxclient/http/errors.hpp
+2
-2
2 additions, 2 deletions
include/mtxclient/http/errors.hpp
with
2 additions
and
2 deletions
include/mtxclient/http/errors.hpp
+
2
−
2
View file @
a0b20398
...
@@ -87,7 +87,7 @@ struct fmt::formatter<mtx::http::ClientError>
...
@@ -87,7 +87,7 @@ struct fmt::formatter<mtx::http::ClientError>
// Formats the point p using the parsed format specification (presentation)
// Formats the point p using the parsed format specification (presentation)
// stored in this formatter.
// stored in this formatter.
template
<
typename
FormatContext
>
template
<
typename
FormatContext
>
auto
format
(
const
mtx
::
http
::
ClientError
&
e
,
FormatContext
&
ctx
)
->
decltype
(
ctx
.
out
())
auto
format
(
const
mtx
::
http
::
ClientError
&
e
,
FormatContext
&
ctx
)
const
->
decltype
(
ctx
.
out
())
{
{
// ctx.out() is an output iterator to write to.
// ctx.out() is an output iterator to write to.
bool
prepend_comma
=
false
;
bool
prepend_comma
=
false
;
...
@@ -132,7 +132,7 @@ struct fmt::formatter<std::optional<mtx::http::ClientError>> : formatter<mtx::ht
...
@@ -132,7 +132,7 @@ struct fmt::formatter<std::optional<mtx::http::ClientError>> : formatter<mtx::ht
{
{
// parse is inherited from formatter<string_view>.
// parse is inherited from formatter<string_view>.
template
<
typename
FormatContext
>
template
<
typename
FormatContext
>
auto
format
(
std
::
optional
<
mtx
::
http
::
ClientError
>
c
,
FormatContext
&
ctx
)
auto
format
(
std
::
optional
<
mtx
::
http
::
ClientError
>
c
,
FormatContext
&
ctx
)
const
{
{
if
(
!
c
)
if
(
!
c
)
return
fmt
::
format_to
(
ctx
.
out
(),
"(no error)"
);
return
fmt
::
format_to
(
ctx
.
out
(),
"(no error)"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment