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
c5fe3eb8
Commit
c5fe3eb8
authored
May 05, 2016
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix code bloat regression on gcc 5.3.1 with -std=c++11 (#315)
parent
b2a81413
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
fmt/format.h
fmt/format.h
+4
-0
No files found.
fmt/format.h
View file @
c5fe3eb8
...
@@ -2094,11 +2094,15 @@ struct ArgArray<N, true/*IsPacked*/> {
...
@@ -2094,11 +2094,15 @@ struct ArgArray<N, true/*IsPacked*/> {
template
<
typename
Formatter
,
typename
T
>
template
<
typename
Formatter
,
typename
T
>
static
Value
make
(
const
T
&
value
)
{
static
Value
make
(
const
T
&
value
)
{
#ifdef __clang__
Value
result
=
MakeValue
<
Formatter
>
(
value
);
Value
result
=
MakeValue
<
Formatter
>
(
value
);
// Workaround a bug in Apple LLVM version 4.2 (clang-425.0.28) of clang:
// Workaround a bug in Apple LLVM version 4.2 (clang-425.0.28) of clang:
// https://github.com/fmtlib/fmt/issues/276
// https://github.com/fmtlib/fmt/issues/276
(
void
)
result
.
custom
.
format
;
(
void
)
result
.
custom
.
format
;
return
result
;
return
result
;
#else
return
MakeValue
<
Formatter
>
(
value
);
#endif
}
}
};
};
...
...
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